mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Revert "[WIP] Add dynamic resizing of xterm tty"
This commit is contained in:
parent
106e900c82
commit
369ac233e6
2 changed files with 7 additions and 20 deletions
|
@ -180,7 +180,6 @@
|
|||
break;
|
||||
case 3:
|
||||
// Connected
|
||||
tunnel.sendText(`mcresize() { old=$(stty -g);stty raw -echo min 0 time 5;printf '\\0337\\033[r\\033[999;999H\\033[6n\\0338' > /dev/tty;IFS='[;R' read -r _ rows cols _ < /dev/tty;stty "$old";stty cols "$cols" rows "$rows"; };trap mcresize SIGWINCH;clear\n`);
|
||||
term.focus();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue