We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7b9228 commit 5afa537Copy full SHA for 5afa537
com/isoterminal.js
@@ -440,7 +440,7 @@ if( typeof AFRAME != 'undefined '){
440
this.el.addEventListener('read_file', async (e) => {
441
const buf = await this.term.worker.read_file( e.detail[0] )
442
const str = new TextDecoder().decode(buf)
443
- if( typeof e.detail[1] == 'function' ) e.detail[1](str)
+ if( typeof e.detail[1] == 'function' ) e.detail[1](str,buf)
444
else console.log(str)
445
})
446
},
0 commit comments