diff --git a/blueprints/terminal.py b/blueprints/terminal.py index f34a5aa..29dafd7 100644 --- a/blueprints/terminal.py +++ b/blueprints/terminal.py @@ -24,7 +24,7 @@ COMMANDS = { "rm [file]": "Remove a file", "tree [path]": "Display directory tree", "touch [file]": "Create a new empty file", - "nano [file]": "Edit a file (write content)", + "nano [file]": "Edit a file", "reset": "Reset the terminal session", "exit": "Exit the terminal session", } @@ -567,7 +567,6 @@ def tree(): @terminal_bp.route("/terminal/execute/", methods=["POST"]) def execute_catch(command): try: - # Basic command processing if command == "help": output = "Available commands:\n" + \