summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/pmore.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index ea3a11b1..b236d0e6 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -1149,7 +1149,13 @@ mf_display()
if(col < t_columns)
{
/* we tried our best to determine */
- outc(c); col++;
+ if(xprefix > 0)
+ xprefix --;
+ else
+ {
+ outc(c);
+ col++;
+ }
}
if(!inAnsi)
outs(ANSI_RESET);
@@ -1223,8 +1229,13 @@ mf_display()
if(col < t_columns)
{
/* we tried our best to determine */
- outs(ANSI_COLOR(1) "*");
- col++;
+ if(xprefix > 0)
+ xprefix --;
+ else
+ {
+ outs(ANSI_COLOR(1) "*");
+ col++;
+ }
}
break;
case MFDISP_RAW_PLAIN: