Explorar o código

Fixed always returning true in ProcessKey even when not consuming keystroke

tznind %!s(int64=4) %!d(string=hai) anos
pai
achega
e833adf94d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Terminal.Gui/Views/TreeView.cs

+ 4 - 0
Terminal.Gui/Views/TreeView.cs

@@ -229,6 +229,10 @@ namespace Terminal.Gui {
 				case Key.End:
 					GoToEnd();
 				break;
+
+				default:
+					// we don't care about this keystroke
+					return false;
 			}
 
 			PositionCursor ();