From 268e8fb62d44dbf94c892f4d12225948e57c27e8 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Tue, 21 May 2024 17:16:15 +0100 Subject: [PATCH] Small changes --- elia_chat/app.py | 2 +- elia_chat/elia.scss | 2 +- elia_chat/screens/help_screen.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elia_chat/app.py b/elia_chat/app.py index de8ab9a..a57d8dc 100644 --- a/elia_chat/app.py +++ b/elia_chat/app.py @@ -28,7 +28,7 @@ class Elia(App[None]): CSS_PATH = Path(__file__).parent / "elia.scss" BINDINGS = [ Binding("q", "app.quit", "Quit", show=False), - Binding("?", "help", "Help"), + Binding("f1,?", "help", "Help"), ] def __init__(self, config: LaunchConfig, startup_prompt: str = ""): diff --git a/elia_chat/elia.scss b/elia_chat/elia.scss index 85e1473..fa2b08a 100644 --- a/elia_chat/elia.scss +++ b/elia_chat/elia.scss @@ -31,7 +31,7 @@ Screen { background: $background; padding: 0 2 1 2; &:inline { - height: 50vh; + height: 80vh; padding: 0 2; } } diff --git a/elia_chat/screens/help_screen.py b/elia_chat/screens/help_screen.py index 77638af..4231bdf 100644 --- a/elia_chat/screens/help_screen.py +++ b/elia_chat/screens/help_screen.py @@ -8,7 +8,7 @@ class HelpScreen(ModalScreen[None]): BINDINGS = [ Binding("q", "app.quit", "Quit", show=False), - Binding("escape,?", "app.pop_screen()", "Close help", key_display="esc"), + Binding("escape,f1,?", "app.pop_screen()", "Close help", key_display="esc"), ] HELP_MARKDOWN = """\