summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_utils.c')
-rw-r--r--Src/Zle/zle_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index e63f6a162..03a514cce 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -1257,7 +1257,7 @@ showmsg(char const *msg)
p++;
putc('\n', shout);
- up += 1 + cc / columns;
+ up += 1 + cc / zterm_columns;
cc = 0;
} else {
/*
@@ -1308,7 +1308,7 @@ showmsg(char const *msg)
c = *++p ^ 32;
if(c == '\n') {
putc('\n', shout);
- up += 1 + cc / columns;
+ up += 1 + cc / zterm_columns;
cc = 0;
} else {
char const *n = nicechar(c);
@@ -1317,7 +1317,7 @@ showmsg(char const *msg)
}
}
#endif
- up += cc / columns;
+ up += cc / zterm_columns;
if (clearflag) {
putc('\r', shout);