Ver código fonte

Fixed always swallowing keystrokes in ProcessKey in TableView

tznind 4 anos atrás
pai
commit
1416f2f047
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      Terminal.Gui/Views/TableView.cs

+ 3 - 0
Terminal.Gui/Views/TableView.cs

@@ -205,6 +205,9 @@ namespace Terminal.Gui.Views {
 				SelectedColumn =  Table == null ? 0 : Table.Columns.Count - 1;
 				Update ();
 				break;
+			default:
+				// Not a keystroke we care about
+				return false;
 			}
 			PositionCursor ();
 			return true;