summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/window.c b/riscos/window.c
index c355ecf69..53f87e1fc 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -813,6 +813,10 @@ bool ro_gui_window_keypress(gui_window *g, int key, bool toolbar)
}
switch (key) {
+ case wimp_KEY_F1: /* Help. */
+ ro_gui_open_help_page("docs");
+ return true;
+
case wimp_KEY_F8: /* View source. */
ro_gui_view_source(content);
return true;