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 d6108bd..310c76d 100644
--- a/command.c
+++ b/command.c
@@ -373,6 +373,9 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_SPLIT_JOIN:
if (node) node_join(ted, node);
break;
+ case CMD_SPLIT_SWITCH:
+ if (node) node_split_switch(ted);
+ break;
case CMD_SPLIT_SWAP:
if (node) node_split_swap(ted);
break;