summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
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);