Quellcode durchsuchen

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

BDisp vor 5 Jahren
Ursprung
Commit
ea9eab881c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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;