change demo to utf8 input

This commit is contained in:
Jörg Breitbart
2019-01-20 23:06:51 +01:00
parent 3a2076805c
commit e6e5ecc0f2
3 changed files with 13 additions and 6 deletions
+1
View File
@@ -134,6 +134,7 @@ function createTerminal(): void {
pid = processId;
socketURL += processId;
socket = new WebSocket(socketURL);
socket.binaryType = 'arraybuffer';
socket.onopen = runRealTerminal;
socket.onclose = runFakeTerminal;
socket.onerror = runFakeTerminal;