diff options
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Src/utils.c b/Src/utils.c index daa753a1f..9678df01d 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1292,10 +1292,7 @@ preprompt(void) countprompt(str, &w, 0, -1); opts[PROMPTPERCENT] = percents; zputs(str, shout); - if (hasxn) - fprintf(shout, "%*s\r%*s\r", (int)columns - w, "", w, ""); - else - fprintf(shout, "%*s\r", (int)columns - w - 1, ""); + fprintf(shout, "%*s\r%*s\r", (int)columns - w - !hasxn, "", w, ""); free(str); } |