summaryrefslogtreecommitdiff
path: root/commands/src/debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'commands/src/debug.rs')
-rw-r--r--commands/src/debug.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/commands/src/debug.rs b/commands/src/debug.rs
deleted file mode 100644
index ed80d90..0000000
--- a/commands/src/debug.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-use alloc::string::String;
-use toolkit::Toolkit;
-use crate::parser::Command;
-
-pub fn run(tk: &mut Toolkit, _command: Command) {
- if tk.globals.contains_key("debug") && tk.globals.get("debug").unwrap() == "1" {
- tk.globals.insert(String::from("debug"), String::from("0"));
- tk.println("Shell debugging is now OFF.\r\n");
- } else {
- tk.globals.insert(String::from("debug"), String::from("1"));
- tk.println("Shell debugging is now ON.\r\n");
- }
-} \ No newline at end of file