Skip to content

Commit 969029d

Browse files
authored
🔀 Merge pull request #117 from davep/fix-help-command
Handle the Help event
2 parents 77d7dcc + 7bb0be8 commit 969029d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Hike ChangeLog
22

3+
## Unreleased
4+
5+
**Released: WiP**
6+
7+
- Fixed the `help` command in the command line widget not pulling up the
8+
help dialog. ([#117](https://github.com/davep/hike/pull/117))
9+
310
## v1.1.1
411

512
**Released: 2025-08-03**

src/hike/screens/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ def _watch_navigation_visible(self) -> None:
210210
with update_configuration() as config:
211211
config.navigation_visible = self.navigation_visible
212212

213+
@on(Help)
214+
async def _show_help(self) -> None:
215+
"""Handle the help action."""
216+
await self.run_action("help_command")
217+
213218
@on(HandleInput)
214219
def _handle_input(self, message: HandleInput) -> None:
215220
"""Handle input as if the user had typed it in.

0 commit comments

Comments
 (0)