From b21dc2ea7ac3f9a6495a7971d9833ae5d2b816a5 Mon Sep 17 00:00:00 2001 From: Stefan Etringer Date: Wed, 2 Jul 2025 11:11:34 +0000 Subject: [PATCH] further cleanup --- static/help-command.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/static/help-command.js b/static/help-command.js index 4e36063..81a094d 100644 --- a/static/help-command.js +++ b/static/help-command.js @@ -1,13 +1,16 @@ const helpMsg = ` -This is a non interactive Webshell with an interactive mode, including some -additional features to ease communications between server and client. +This is a shell in the browser, a web shell. + +It includes a non-interactive shell with an optional interactive mode. +Furthermore, additional commands to ease communications between server +and client. + Available Commands: upload Upload files to the server through the file selector of the browser. download Download files from the server to your local download directory. theme Change the colorscheme of the shell. Type theme to get an overview of all colorschemes. start-interactive Opens a bash shell in an interactive terminal. Type ctrl+d to go back to non-interactive mode. ` -// const helpMsg = 'This is a non interactive Webshell including some additional features to ease communications between server and client.\n Available Commands:\n upload\t\t\t\tUpload files to the server through the file selector of the browser.\n download \t\t\tDownload files from the server to your local download directory.\n theme \t\t\tChange the colorscheme of the shell. Type theme to get an overview of all colorschemes.\n start-interactive\t\t\tOpens a bash shell in an interactive terminal. Type ctrl+d to exi the interactive shell.' document.addEventListener("DOMContentLoaded", function() { const input = document.getElementById("command-input");