master
rexim 2019-12-21 23:27:28 +07:00
parent b16fc0397b
commit 6c575f8ede
1 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,9 @@ static void handle_keydown_alt(Edit_field *edit_field, const SDL_Event *event)
kill_word(edit_field);
} break;
// TODO(#1219): edit_field should also support more conventional copy/paste/cut keys like Ctrl+C,Ctrl+V,Ctrl+X
// Emacs keybindings support is cool and all, but we also need to be more reflex inclusive.
// TODO: edit_field doesn't support selections for copy/cut operations
case SDLK_w: {
field_buffer_copy(edit_field);
} break;