Miguel de Icaza hace 7 años
padre
commit
d17fb45852
Se han modificado 1 ficheros con 2 adiciones y 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;