mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Change Home/End to go to first/last cell in table in FileDialog2
This commit is contained in:
@@ -191,6 +191,12 @@ namespace Terminal.Gui {
|
||||
this.tableView.KeyUp += (k) => k.Handled = this.TableView_KeyUp (k.KeyEvent);
|
||||
this.tableView.SelectedCellChanged += this.TableView_SelectedCellChanged;
|
||||
this.tableView.ColorScheme = ColorSchemeDefault;
|
||||
|
||||
this.tableView.AddKeyBinding (Key.Home, Command.TopHome);
|
||||
this.tableView.AddKeyBinding (Key.End, Command.BottomEnd);
|
||||
this.tableView.AddKeyBinding (Key.Home | Key.ShiftMask, Command.TopHomeExtend);
|
||||
this.tableView.AddKeyBinding (Key.End | Key.ShiftMask, Command.BottomEndExtend);
|
||||
|
||||
|
||||
this.treeView.ColorScheme = ColorSchemeDefault;
|
||||
this.treeView.KeyDown += (k) => k.Handled = this.TreeView_KeyDown (k.KeyEvent);
|
||||
|
||||
Reference in New Issue
Block a user