diff options
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index fe277a5b4..ce90be845 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -746,8 +746,13 @@ singlelineout: zfree(tmpline, tmpll); /* if we have a new list showing, note it; if part of the list has been - overwritten, redisplay it. */ + overwritten, redisplay it. We have to metafy line back before calling + completion code */ if (showinglist == -2 || (showinglist > 0 && showinglist < nlnct)) { + if (remetafy) { + metafy_line(); + remetafy = 0; + } inlist = 1; listmatches(); inlist = 0; |