Miguel de Icaza %!s(int64=7) %!d(string=hai) anos
pai
achega
d17fb45852
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Terminal.Gui/Views/TextField.cs

+ 2 - 1
Terminal.Gui/Views/TextField.cs

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