summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-05 16:11:01 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-05 16:11:01 -0500
commit8944eb64682f626f76b9b204a58afc8fa5d0a522 (patch)
treea82fabd9a7c0e90d72a1d3368935ecc54cafa575 /command.c
parentf80661e0958c1fa70b2eea9dc2a9b89e86c802d3 (diff)
fix some little problems with the file selector
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;