Browse Source

Fixed always returning true in ProcessKey even when not consuming keystroke

tznind 4 years ago
parent
commit
e833adf94d
1 changed files with 4 additions and 0 deletions
  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 ();