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 5ff7444..da1701a 100644
--- a/command.c
+++ b/command.c
@@ -247,6 +247,9 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_TAB_PREV:
if (ted->active_node) node_tab_prev(ted, ted->active_node, argument);
break;
+ case CMD_TAB_SWITCH:
+ if (ted->active_node) node_tab_switch(ted, ted->active_node, argument);
+ break;
case CMD_ESCAPE:
if (*ted->error_shown) {