diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -129,6 +129,15 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_REDO: if (buffer) buffer_redo(buffer, argument); break; + case CMD_COPY: + if (buffer) buffer_copy(buffer); + break; + case CMD_CUT: + if (buffer) buffer_cut(buffer); + break; + case CMD_PASTE: + if (buffer) buffer_paste(buffer); + break; case CMD_TEXT_SIZE_INCREASE: { i64 new_text_size = settings->text_size + argument; |