Skip to content

Commit d17fb45

Browse files
committed
Undo for now
1 parent ca05160 commit d17fb45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Terminal.Gui/Views/TextField.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,15 @@ public override bool ProcessKey (KeyEvent kb)
160160
{
161161
switch (kb.Key) {
162162
case Key.Delete:
163+
#if false
163164
case Key.DeleteChar:
164165
if (text.Length == 0 || text.Length == point)
165166
return true;
166167

167168
SetText (text [0, point] + text [point + 1, null]);
168169
Adjust ();
169170
break;
170-
171+
#endif
171172
case Key.Backspace:
172173
if (point == 0)
173174
return true;

0 commit comments

Comments
 (0)