Fix issues with linux/macos terminal

This commit is contained in:
TotallyNotElite
2020-02-05 20:45:42 +01:00
parent 248d9423fa
commit fca9b86d62
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ var CreateAmtRemoteTerminal = function (divid, options) {
}
obj.xxStateChange = function (newstate) {
//if ((newstate == 3) && (options != null) && (options.xterm == true)) { obj.TermSendKeys(' stty rows ' + obj.height + ' cols ' + obj.width + '\n clear\n'); }
if ((newstate == 3) && (options != null) && (options.xterm == true)) { obj.TermSendKeys(' stty rows ' + obj.height + ' cols ' + obj.width + ';clear\n'); }
}
obj.ProcessData = function (str) {