diff options
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r-- | mbbsd/pmore.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index f4e6b285..98b6b2f8 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1094,6 +1094,17 @@ mf_display() scrll = MFDISP_PAGE; i = scrll; + +#if defined(USE_PFTERM) + // In fact, pfterm will flash black screen when scrolling pages... + // So it may work better if we refresh whole screen. + if (i >= b_lines / 2) + { + clear(); move(0, 0); + scrll = MFDISP_PAGE; + } else +#endif // defined(USE_PFTERM) + while(i-- > 0) if (reverse) rscroll(); // v |