Browse Source

Changed to ControlU to undo and to ControlR to redo in the TextField.

BDisp 5 years ago
parent
commit
ea9eab881c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Terminal.Gui/Views/TextField.cs

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

@@ -401,7 +401,7 @@ namespace Terminal.Gui {
 				break;
 
 			// Undo
-			case Key.ControlZ:
+			case Key.ControlU:
 				if (ReadOnly)
 					return true;
 
@@ -417,7 +417,7 @@ namespace Terminal.Gui {
 				break;
 
 			//Redo
-			case Key.ControlY: // Control-y, yank
+			case Key.ControlR: // Control-y, yank
 				if (ReadOnly)
 					return true;