mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Hide automatically run commands in the linux terminal
This commit is contained in:
parent
c921005260
commit
304a69c153
3 changed files with 80 additions and 46 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue