summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cm.c b/src/cm.c
index 4693b69c26e..f453fc2650a 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -225,7 +225,8 @@ x:
goto dodelta; /* skip all the tab junk */
}
/* Tabs (the toughie) */
- if (tty->Wcm->cc_tab >= BIG || !tty->Wcm->cm_usetabs)
+ if (!tty_cursor_movement_use_TAB
+ || tty->Wcm->cc_tab >= BIG || !tty->Wcm->cm_usetabs)
goto olddelta; /* forget it! */
/*