diff options
Diffstat (limited to 'src/fe-common/core/completion.c')
-rw-r--r-- | src/fe-common/core/completion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 08a538dd..49e74783 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -537,6 +537,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, } /* check only for /command completions from now on */ + if (*linestart == '\0') + return; + cmdchars = strchr(cmdchars, *linestart); if (cmdchars == NULL) return; |