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 5d98922..05f7c48 100644
--- a/command.c
+++ b/command.c
@@ -317,5 +317,8 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_SPLIT_JOIN:
node_join(ted, node);
break;
+ case CMD_SPLIT_SWAP:
+ node_split_swap(ted);
+ break;
}
}