diff --git a/assets/disk0/tvdos/bin/command.js b/assets/disk0/tvdos/bin/command.js index dbfeab9..fda7572 100644 --- a/assets/disk0/tvdos/bin/command.js +++ b/assets/disk0/tvdos/bin/command.js @@ -275,6 +275,7 @@ shell.coreutils = { cls: function(args) { con.clear(); graphics.clearPixels(255); + graphics.clearPixels2(240); }, exit: function(args) { cmdExit = true; diff --git a/assets/disk0/tvdos/bin/telcom.js b/assets/disk0/tvdos/bin/telcom.js index b209dcc..97726a1 100644 --- a/assets/disk0/tvdos/bin/telcom.js +++ b/assets/disk0/tvdos/bin/telcom.js @@ -62,7 +62,9 @@ function sendMessage(line) { } } else { - com.sendMessage(port - 1, line + "\x17") + if (line.charAt(line.length - 1) == '\\') + line = line.substring(0, line.length - 1) + '\x17' + com.sendMessage(port - 1, line) println(com.fetchResponse(port - 1)) } }