summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/term.c b/term.c
index b32fd1f1..5480be34 100644
--- a/term.c
+++ b/term.c
@@ -413,6 +413,7 @@ term_word(struct termp *p, const char *word)
p->flags |= TERMP_NOSPACE;
p->flags &= ~(TERMP_SENTENCE | TERMP_NONEWLINE);
+ p->skipvsp = 0;
while ('\0' != *word) {
if ('\\' != *word) {