summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 943a2409..a0f66c91 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -657,7 +657,8 @@ int UI::handle(int event)
// Let FLTK pass these events to child widgets.
if (event == KEY) {
- if (event_key() == UpKey || event_key() == DownKey)
+ if (event_key() == UpKey || event_key() == DownKey ||
+ event_key() == SpaceKey)
return 0;
}
@@ -693,7 +694,7 @@ int UI::handle(int event)
ret = 1;
}
- // Back and Forward shortcuts
+ // Back and Forward navigation shortcuts
if ((!event_state(SHIFT) && event_key() == BackSpaceKey) ||
event_key() == ',') {
a_UIcmd_back(user_data());