This commit is contained in:
2026-02-05 15:57:51 +08:00
parent 1006627009
commit 0dd7415445

View File

@@ -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;