summaryrefslogtreecommitdiff
path: root/apps/recorder/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r--apps/recorder/keyboard.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 1ca0069735..5bfb1024b3 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -735,7 +735,11 @@ int kbd_input(char* text, int buflen)
735 FOR_NB_SCREENS(l) 735 FOR_NB_SCREENS(l)
736 screens[l].update(); 736 screens[l].update();
737 737
738 button = get_action(CONTEXT_KEYBOARD, HZ/2); 738 button = get_action(
739#ifdef HAVE_MORSE_INPUT
740 morse_mode? CONTEXT_MORSE_INPUT:
741#endif
742 CONTEXT_KEYBOARD, HZ/2);
739#if NB_SCREENS > 1 743#if NB_SCREENS > 1
740 button_screen = (get_action_statuscode(NULL) & ACTION_REMOTE) ? 1 : 0; 744 button_screen = (get_action_statuscode(NULL) & ACTION_REMOTE) ? 1 : 0;
741#endif 745#endif