summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-02 18:10:09 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-02 18:10:09 -0500
commit6bafd0d45f63a7618d7822f31b01da7443d9c5e8 (patch)
tree35ad964886abc69ee55af39ba1130342cd1155b0 /command.c
parent189bbdf3e1d5285fc0508d1a190036d6f4295558 (diff)
select all
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.c b/command.c
index 5d1a4d4..8e210f0 100644
--- a/command.c
+++ b/command.c
@@ -87,6 +87,9 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_SELECT_END_OF_FILE:
buffer_select_to_end_of_file(buffer);
break;
+ case CMD_SELECT_ALL:
+ buffer_select_all(buffer);
+ break;
case CMD_BACKSPACE:
buffer_backspace_at_cursor(buffer, argument);