Skip to content

Commit eabd222

Browse files
authored
Add 'l' and 'h' keys for navigation in BasicCategoriesScreen
1 parent 3080b99 commit eabd222

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/src/commonMain/kotlin/com/linuxcommandlibrary/nativecli/screens/BasicCategoriesScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class BasicCategoriesScreen : Screen {
5656
ScreenResult.Stay
5757
}
5858

59-
"Enter" -> {
59+
"Enter", "l" -> {
6060
val selected = list.selectedValue
6161
if (selected != null) {
6262
ScreenResult.Navigate(BasicDetailScreen(selected.id, selected.title))
@@ -65,7 +65,7 @@ class BasicCategoriesScreen : Screen {
6565
}
6666
}
6767

68-
"q", "Escape" -> ScreenResult.Back
68+
"q", "Escape", "h" -> ScreenResult.Back
6969

7070
else -> {
7171
// Handle number keys for direct selection

0 commit comments

Comments
 (0)