1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix Ctrl+Down selecting text instead of moving cursor in editor(1).

This commit is contained in:
Alexandros Alexandrou 2018-03-11 18:39:00 +02:00
parent 82b98b4899
commit 5723610d0a

View file

@ -140,7 +140,7 @@ void editor_type_kbkey(struct editor* editor, int kbkey)
case KBKEY_LEFT: editor_type_control_left(editor); break;
case KBKEY_RIGHT: editor_type_control_right(editor); break;
case KBKEY_UP: editor_type_control_up(editor); break;
case KBKEY_DOWN: editor_type_control_select_down(editor); break;
case KBKEY_DOWN: editor_type_control_down(editor); break;
}
}
else if ( !editor->control && editor->shift )