summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-28 14:41:58 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-28 14:41:58 -0500
commitfb2a0b9998a599f9e8a9a1e911fd43345778f6ef (patch)
tree5c3ebf1b7afa1654ad1f9e9db7d765378044e3c8 /command.c
parent5662c988fa199d071fdfd9e9defd8e09a3486b0c (diff)
:split-swap
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;
}
}