diff --git a/editor/Nano.cs b/editor/Nano.cs index 753f96c..4fe9112 100644 --- a/editor/Nano.cs +++ b/editor/Nano.cs @@ -147,6 +147,11 @@ namespace CMLeonOS modified = true; } + private void InsertTab() + { + Insert(" "); + } + // Backspace at the cursor. private void Backspace() { @@ -697,6 +702,9 @@ namespace CMLeonOS } switch (key.Key) { + case ConsoleKey.Tab: + InsertTab(); + break; case ConsoleKey.Backspace: Backspace(); break;