From 53ac3a3a4b0cd447de12c1efcfe77d040f3f716f Mon Sep 17 00:00:00 2001 From: Mn Date: Wed, 22 Nov 2023 16:11:25 +0800 Subject: [PATCH] 123655 --- NetPanel.Bl/SshBl.cs | 3 +- NetPanel/Views/SSH/SSH.cshtml | 100 ++++++++++++------ .../AdminLTE/plugins/xterm/xterm-addon-fit.js | 2 + .../plugins/xterm/xterm-addon-fit.js.map | 1 + .../plugins/xterm/xterm-addon-search.js | 2 + .../plugins/xterm/xterm-addon-search.js.map | 1 + .../plugins/xterm/xterm-addon-web-links.js | 2 + .../xterm/xterm-addon-web-links.js.map | 1 + .../plugins/xterm/xterm-addon-webgl.js | 2 + .../plugins/xterm/xterm-addon-webgl.js.map | 1 + .../wwwroot/AdminLTE/plugins/xterm/xterm.css | 64 ++++++++--- .../wwwroot/AdminLTE/plugins/xterm/xterm.js | 3 +- .../AdminLTE/plugins/xterm/xterm.js.map | 1 + 13 files changed, 133 insertions(+), 50 deletions(-) create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-fit.js create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-fit.js.map create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-search.js create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-search.js.map create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-web-links.js create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-web-links.js.map create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-webgl.js create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm-addon-webgl.js.map create mode 100644 NetPanel/wwwroot/AdminLTE/plugins/xterm/xterm.js.map diff --git a/NetPanel.Bl/SshBl.cs b/NetPanel.Bl/SshBl.cs index 8e22fdb..368e0f2 100644 --- a/NetPanel.Bl/SshBl.cs +++ b/NetPanel.Bl/SshBl.cs @@ -85,7 +85,8 @@ namespace NetPanel.Bl public void WriteLine(string line) { - _writer.WriteLine(line); + //_writer.WriteLine(line); + _shellStream.WriteLine(line); } diff --git a/NetPanel/Views/SSH/SSH.cshtml b/NetPanel/Views/SSH/SSH.cshtml index b238536..9f10bdc 100644 --- a/NetPanel/Views/SSH/SSH.cshtml +++ b/NetPanel/Views/SSH/SSH.cshtml @@ -27,8 +27,7 @@
-
-
+
@@ -37,12 +36,23 @@ -< + + + + + + -