Refactor keybinding for adding entries: change key from 'a' to 'n' for improved consistency with application shortcuts.
This commit is contained in:
parent
adc40fc16a
commit
9a9161f28c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from textual.binding import Binding
|
||||||
|
|
||||||
# Key bindings for the hosts manager application
|
# Key bindings for the hosts manager application
|
||||||
HOSTS_MANAGER_BINDINGS = [
|
HOSTS_MANAGER_BINDINGS = [
|
||||||
Binding("a", "add_entry", "Add new entry", show=True, id="left:add_entry"),
|
Binding("n", "add_entry", "New entry", show=True, id="left:new_entry"),
|
||||||
Binding("d", "delete_entry", "Delete entry", show=True, id="left:delete_entry"),
|
Binding("d", "delete_entry", "Delete entry", show=True, id="left:delete_entry"),
|
||||||
Binding("e", "edit_entry", "Edit entry", show=True, id="left:edit_entry"),
|
Binding("e", "edit_entry", "Edit entry", show=True, id="left:edit_entry"),
|
||||||
Binding(
|
Binding(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue