mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-02 20:53:02 +00:00
added ability to freeze terminal screen on connection lost
This commit is contained in:
parent
2c018b9b11
commit
a15664c0ab
4 changed files with 10 additions and 7 deletions
|
|
@ -17,6 +17,7 @@ var CloudCommander, io;
|
|||
|
||||
socket.on('connect', function () {
|
||||
outToTerminal('socket connected');
|
||||
JqueryTerminal.Term.resume();
|
||||
});
|
||||
|
||||
socket.on('message', function (msg) {
|
||||
|
|
@ -26,6 +27,7 @@ var CloudCommander, io;
|
|||
|
||||
socket.on('disconnect', function () {
|
||||
outToTerminal('socket disconected');
|
||||
JqueryTerminal.Term.pause();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue