Remove whitespaces
This commit is contained in:
parent
12df4f909c
commit
76a9316e5c
1 changed files with 26 additions and 25 deletions
|
@ -1,34 +1,35 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Noozoid
|
module Noozoid
|
||||||
module Config
|
module Config
|
||||||
HELP_KEYS = [
|
HELP_KEYS = [
|
||||||
[:nav_parent, 'Navigate to parent'],
|
[:nav_parent, 'Navigate to parent'],
|
||||||
[:nav_child, 'Navigate to child' ],
|
[:nav_child, 'Navigate to child'],
|
||||||
[:nav_next, 'Navigate to next sibling'],
|
[:nav_next, 'Navigate to next sibling'],
|
||||||
[:nav_previous, 'Navigate to previous sibling'],
|
[:nav_previous, 'Navigate to previous sibling'],
|
||||||
[:nav_root, 'Navigate to tree root'],
|
[:nav_root, 'Navigate to tree root'],
|
||||||
[:nav_none, ''],
|
[:nav_none, ''],
|
||||||
[:node_create, 'Create node'],
|
[:node_create, 'Create node'],
|
||||||
[:node_delete, 'Delete selected node'],
|
[:node_delete, 'Delete selected node'],
|
||||||
[:node_toggle, 'Toggle node'],
|
[:node_toggle, 'Toggle node'],
|
||||||
[:node_none, ''],
|
[:node_none, ''],
|
||||||
[:main_help, 'Show this help'],
|
[:main_help, 'Show this help'],
|
||||||
[:main_quit, 'Exit program']
|
[:main_quit, 'Exit program']
|
||||||
]
|
].freeze
|
||||||
|
|
||||||
DEFAULT_KEYS = {
|
DEFAULT_KEYS = {
|
||||||
nav_parent: 'LEFT',
|
nav_parent: 'LEFT',
|
||||||
nav_child: 'RIGHT',
|
nav_child: 'RIGHT',
|
||||||
nav_next: 'DOWN',
|
nav_next: 'DOWN',
|
||||||
nav_previous: 'UP',
|
nav_previous: 'UP',
|
||||||
nav_root: 'r',
|
nav_root: 'r',
|
||||||
nav_none: '',
|
nav_none: '',
|
||||||
node_create: 'a',
|
node_create: 'a',
|
||||||
node_delete: 'd',
|
node_delete: 'd',
|
||||||
node_toggle: 'v',
|
node_toggle: 'v',
|
||||||
node_none: '',
|
node_none: '',
|
||||||
main_quit: 'q',
|
main_quit: 'q',
|
||||||
main_help: '?'
|
main_help: '?'
|
||||||
}
|
}.freeze
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue