File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ inline void ConsoleInput::print_sequence()
100100
101101 stream->println ();
102102 stream->printf_P (PSTR (" \\ e%s => " ), esc_sequence + 1 );
103- for (int i = 1 ; i < sizeof (esc_sequence); i++)
103+ for (int i = 1 ; i < ( int ) sizeof (esc_sequence); i++)
104104 {
105105 if (esc_sequence[i] == 0 )
106106 {
@@ -752,15 +752,15 @@ int16_t ConsoleInput::readKey()
752752 history_index = 0 ;
753753 break ;
754754
755- case ' G' : // BELL
755+ case KEY_CTRL ( ' G' ) : // BELL
756756 return key;
757757
758- case ' H' : // Backspace
758+ case KEY_CTRL ( ' H' ) : // Backspace
759759 if (flags.auto_edit )
760760 do_backspace ();
761761 return KEY_BACKSPACE;
762762
763- case 9 : // Tab
763+ case 9 : // TAB
764764 return key;
765765
766766 case KEY_LF ... KEY_CR:
You can’t perform that action at this time.
0 commit comments