mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
Nano Tab
This commit is contained in:
@@ -147,6 +147,11 @@ namespace CMLeonOS
|
|||||||
modified = true;
|
modified = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void InsertTab()
|
||||||
|
{
|
||||||
|
Insert(" ");
|
||||||
|
}
|
||||||
|
|
||||||
// Backspace at the cursor.
|
// Backspace at the cursor.
|
||||||
private void Backspace()
|
private void Backspace()
|
||||||
{
|
{
|
||||||
@@ -697,6 +702,9 @@ namespace CMLeonOS
|
|||||||
}
|
}
|
||||||
switch (key.Key)
|
switch (key.Key)
|
||||||
{
|
{
|
||||||
|
case ConsoleKey.Tab:
|
||||||
|
InsertTab();
|
||||||
|
break;
|
||||||
case ConsoleKey.Backspace:
|
case ConsoleKey.Backspace:
|
||||||
Backspace();
|
Backspace();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user