From 035ca7f26e5bb2643e23eda715c892b6a39c3180 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sun, 3 Oct 1999 09:08:46 +0000 Subject: zsh-workers/8126 --- Src/Zle/zle_refresh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/zle_refresh.c') diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 1dbffc21c..97b7e8d03 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -945,7 +945,7 @@ tc_rightcurs(int ct) /* otherwise _carefully_ write the contents of the video buffer. if we're anywhere in the prompt, goto the left column and write the whole prompt out unless ztrlen(lpromptbuf) == lpromptw : we can cheat then */ - if (vln == 0 && i < lpromptw) { + if (vln == 0 && i < lpromptw && !(termflags & TERM_SHORT)) { if (strlen(lpromptbuf) == lpromptw) fputs(lpromptbuf + i, shout); else if (tccan(TCRIGHT) && (tclen[TCRIGHT] * ct <= ztrlen(lpromptbuf))) -- cgit 1.4.1