Pārlūkot izejas kodu

Fixed always returning true in ProcessKey even when not consuming keystroke

tznind 4 gadi atpakaļ
vecāks
revīzija
e833adf94d
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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 ();