diff options
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.126 2009/11/12 05:58:30 kristaps Exp $ */ +/* $Id: term.c,v 1.127 2009/11/12 08:21:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -487,7 +487,10 @@ term_word(struct termp *p, const char *word) default: break; } + word += sz; + if (DECO_NOSPACE == deco && '\0' == *word) + p->flags |= TERMP_NOSPACE; } if (sv[0] && 0 == sv[1]) |