diff options
Diffstat (limited to 'Libraries/LibLine')
-rw-r--r-- | Libraries/LibLine/Editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibLine/Editor.cpp b/Libraries/LibLine/Editor.cpp index 7401a93882..fc80b41c7b 100644 --- a/Libraries/LibLine/Editor.cpp +++ b/Libraries/LibLine/Editor.cpp @@ -717,13 +717,13 @@ void Editor::handle_read_event() search_forwards(); continue; case 'D': // ^[[D: arrow left - if (modifiers == CSIMod::Ctrl) + if (modifiers == CSIMod::Alt || modifiers == CSIMod::Ctrl) cursor_left_word(); else cursor_left_character(); continue; case 'C': // ^[[C: arrow right - if (modifiers == CSIMod::Ctrl) + if (modifiers == CSIMod::Alt || modifiers == CSIMod::Ctrl) cursor_right_word(); else cursor_right_character(); |