From 9b0c6e2d8e8ff12d1d6df8852fd798abf3840247 Mon Sep 17 00:00:00 2001 From: catborise Date: Sat, 17 Oct 2026 13:27:44 +0300 Subject: [PATCH] build: xterm 6.0.0 for the serial console @xterm/xterm 6.0.0 and @xterm/addon-fit 0.11.0 replace xterm 3.6.0; the page reads typed and pasted input with onData, and no longer writes every key and all terminal output to the browser console. The unused fullscreen addon goes. --- console/templates/console-xterm.html | 18 +- static/css/xterm.css | 161 +- static/js/xterm/addon-fit.js | 2 + static/js/xterm/xterm.js | 2 + static/js/xterm@3.6.0/addons/fit/fit.js | 51 - static/js/xterm@3.6.0/addons/fit/fit.js.map | 1 - .../addons/fullscreen/fullscreen.css | 10 - .../addons/fullscreen/fullscreen.js | 27 - .../addons/fullscreen/fullscreen.js.map | 1 - static/js/xterm@3.6.0/xterm.js | 8588 ----------------- static/js/xterm@3.6.0/xterm.js.map | 1 - 11 files changed, 153 insertions(+), 8709 deletions(-) create mode 100644 static/js/xterm/addon-fit.js create mode 100644 static/js/xterm/xterm.js delete mode 100644 static/js/xterm@3.6.0/addons/fit/fit.js delete mode 100644 static/js/xterm@3.6.0/addons/fit/fit.js.map delete mode 100644 static/js/xterm@3.6.0/addons/fullscreen/fullscreen.css delete mode 100644 static/js/xterm@3.6.0/addons/fullscreen/fullscreen.js delete mode 100644 static/js/xterm@3.6.0/addons/fullscreen/fullscreen.js.map delete mode 100644 static/js/xterm@3.6.0/xterm.js delete mode 100644 static/js/xterm@3.6.0/xterm.js.map diff --git a/console/templates/console-xterm.html b/console/templates/console-xterm.html index 3bae98f1..389f58e7 100644 --- a/console/templates/console-xterm.html +++ b/console/templates/console-xterm.html @@ -5,9 +5,8 @@ {% block head %} WebVirtCloud - XTerm - - - + + @@ -20,8 +19,6 @@