mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-11 06:20:11 -05:00
Hide automatically run commands in the linux terminal
This commit is contained in:
@@ -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 + '\nclear\n'); }
|
||||
if ((newstate == 3) && (options != null) && (options.xterm == true)) { obj.TermSendKeys(' stty rows ' + obj.height + ' cols ' + obj.width + '\n clear\n'); }
|
||||
}
|
||||
|
||||
obj.ProcessData = function (str) {
|
||||
@@ -807,4 +807,4 @@ var CreateAmtRemoteTerminal = function (divid, options) {
|
||||
obj.DivElement.style['height'] = '';
|
||||
if ((options != null) && (options.width != null) && (options.height != null)) { obj.Init(options.width, options.height); } else { obj.Init(); }
|
||||
return obj;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user