summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-31 15:33:21 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-31 15:33:21 -0500
commitd7e2d3d4f13c5f6e52ad36aa890eb09a650d1238 (patch)
tree9e4d883716a34fcbaef46fe943bb35242a33b675 /command.c
parent5a7ca9106a305555922ef78c2dd84ab8779c7718 (diff)
fixed Ctrl+Left/Right being double-set, cleaned up core options code, auto-add-newline
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) {