summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-24 19:27:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-24 19:27:49 -0500
commitf6d49d377ac136fc29457b3b4501f0488b6412e3 (patch)
tree1ff4a6885decabcc4f639a0420b94c836e01940f /command.h
parentaccf188e7c84ee627d5e4cfe12c141e929699830 (diff)
copy/cut/paste
Diffstat (limited to 'command.h')
-rw-r--r--command.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/command.h b/command.h
index 50821b5..2372e37 100644
--- a/command.h
+++ b/command.h
@@ -38,6 +38,9 @@ ENUM_U16 {
CMD_SAVE, // save current buffer
CMD_UNDO,
CMD_REDO,
+ CMD_COPY,
+ CMD_CUT,
+ CMD_PASTE,
CMD_TEXT_SIZE_INCREASE,
CMD_TEXT_SIZE_DECREASE,
@@ -87,6 +90,9 @@ static CommandName const command_names[CMD_COUNT] = {
{"save", CMD_SAVE},
{"undo", CMD_UNDO},
{"redo", CMD_REDO},
+ {"copy", CMD_COPY},
+ {"cut", CMD_CUT},
+ {"paste", CMD_PASTE},
{"increase-text-size", CMD_TEXT_SIZE_INCREASE},
{"decrease-text-size", CMD_TEXT_SIZE_DECREASE},
{"escape", CMD_ESCAPE},