about summary refs log tree commit diff
path: root/Src/Zle/zle_refresh.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-03 09:08:46 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-03 09:08:46 +0000
commit035ca7f26e5bb2643e23eda715c892b6a39c3180 (patch)
tree1eedc522235544ba0bf1b5c25e7e5da0c4333bc7 /Src/Zle/zle_refresh.c
parentbe078fe1da5884957bc70f1d8488e01f9579b66b (diff)
downloadzsh-035ca7f26e5bb2643e23eda715c892b6a39c3180.tar.gz
zsh-035ca7f26e5bb2643e23eda715c892b6a39c3180.tar.xz
zsh-035ca7f26e5bb2643e23eda715c892b6a39c3180.zip
zsh-workers/8126
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r--Src/Zle/zle_refresh.c2
1 files changed, 1 insertions, 1 deletions
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)))