Skip to content

Commit 01aa279

Browse files
committed
update help
1 parent 3a88f88 commit 01aa279

File tree

1 file changed

+4
-15
lines changed
  • archinstoo/archinstall/lib/tui

1 file changed

+4
-15
lines changed

archinstoo/archinstall/lib/tui/help.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ def navigation() -> HelpGroup:
5252
group_entries=[
5353
HelpText(tr('Preview scroll up'), ['PgUp']),
5454
HelpText(tr('Preview scroll down'), ['PgDown']),
55-
HelpText(tr('Move up'), ['k', '↑']),
56-
HelpText(tr('Move down'), ['j', '↓']),
57-
HelpText(tr('Move right'), ['l', '→']),
58-
HelpText(tr('Move left'), ['h', '←']),
55+
HelpText(tr('Move up'), ['↑']),
56+
HelpText(tr('Move down'), ['↓']),
57+
HelpText(tr('Move right'), ['→']),
58+
HelpText(tr('Move left'), ['←']),
5959
HelpText(tr('Jump to entry'), ['1..9']),
6060
],
6161
)
@@ -74,24 +74,13 @@ def selection() -> HelpGroup:
7474
],
7575
)
7676

77-
@staticmethod
78-
def search() -> HelpGroup:
79-
return HelpGroup(
80-
group_id=HelpTextGroupId.SEARCH,
81-
group_entries=[
82-
HelpText(tr('Start search mode'), ['/']),
83-
HelpText(tr('Exit search mode'), ['Esc']),
84-
],
85-
)
86-
8777
@staticmethod
8878
def get_help_text() -> str:
8979
help_output = ''
9080
help_texts = [
9181
Help.general(),
9282
Help.navigation(),
9383
Help.selection(),
94-
Help.search(),
9584
]
9685
max_desc_width = max(entry.get_desc_width() for entry in help_texts) + 2
9786
max_key_width = max(entry.get_key_width() for entry in help_texts)

0 commit comments

Comments
 (0)