Undo for now

This commit is contained in:
Miguel de Icaza
2018-05-08 11:58:52 -04:00
parent ca05160cb5
commit d17fb45852

View File

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