mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Undo for now
This commit is contained in:
@@ -160,6 +160,7 @@ namespace Terminal.Gui {
|
||||
{
|
||||
switch (kb.Key) {
|
||||
case Key.Delete:
|
||||
#if false
|
||||
case Key.DeleteChar:
|
||||
if (text.Length == 0 || text.Length == point)
|
||||
return true;
|
||||
@@ -167,7 +168,7 @@ namespace Terminal.Gui {
|
||||
SetText (text [0, point] + text [point + 1, null]);
|
||||
Adjust ();
|
||||
break;
|
||||
|
||||
#endif
|
||||
case Key.Backspace:
|
||||
if (point == 0)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user