mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-30 18:23:03 +03:00
Bind F1 to Help Topics
This commit is contained in:
parent
9c4728c483
commit
de1a77036b
3
paint.py
3
paint.py
@ -1133,10 +1133,13 @@ class PaintApp(App[None]):
|
||||
Binding("ctrl+pagedown", "large_size", _("Large Size")),
|
||||
# action_toggle_dark is built in to App
|
||||
Binding("ctrl+d", "toggle_dark", _("Toggle Dark Mode")),
|
||||
Binding("f1", "help_topics", _("Help Topics")),
|
||||
# dev helper
|
||||
# f5 would be more traditional, but I need something not bound to anything
|
||||
# in the context of the terminal in VS Code, and not used by this app, like Ctrl+R, and detectable in the terminal.
|
||||
Binding("f2", "reload", _("Reload")),
|
||||
#
|
||||
Binding("f3", "custom_zoom", _("Custom Zoom"))
|
||||
]
|
||||
|
||||
show_tools_box = var(True)
|
||||
|
Loading…
Reference in New Issue
Block a user