Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed May 21, 2024
1 parent d53fc93 commit 268e8fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion elia_chat/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""):
Expand Down
2 changes: 1 addition & 1 deletion elia_chat/elia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Screen {
background: $background;
padding: 0 2 1 2;
&:inline {
height: 50vh;
height: 80vh;
padding: 0 2;
}
}
Expand Down
2 changes: 1 addition & 1 deletion elia_chat/screens/help_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """\
Expand Down

0 comments on commit 268e8fb

Please sign in to comment.