Refactored filtering and searching logic to be more clean and added home/end support in tables.
This commit is contained in:
@@ -16,6 +16,8 @@ generate_keybindings! {
|
||||
backspace,
|
||||
search,
|
||||
filter,
|
||||
home,
|
||||
end,
|
||||
submit,
|
||||
quit,
|
||||
esc
|
||||
@@ -55,6 +57,14 @@ pub const DEFAULT_KEYBINDINGS: KeyBindings = KeyBindings {
|
||||
key: Key::Char('f'),
|
||||
desc: "Filter",
|
||||
},
|
||||
home: KeyBinding {
|
||||
key: Key::Home,
|
||||
desc: "Home",
|
||||
},
|
||||
end: KeyBinding {
|
||||
key: Key::End,
|
||||
desc: "End",
|
||||
},
|
||||
submit: KeyBinding {
|
||||
key: Key::Enter,
|
||||
desc: "Select",
|
||||
|
||||
Reference in New Issue
Block a user