ソースを参照

Fixed always returning true in ProcessKey even when not consuming keystroke

tznind 4 年 前
コミット
e833adf94d
1 ファイル変更4 行追加0 行削除
  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 ();