2
0
Эх сурвалжийг харах

Fixed always returning true in ProcessKey even when not consuming keystroke

tznind 4 жил өмнө
parent
commit
e833adf94d

+ 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 ();