--- st.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/st.c b/st.c index df660ff..e625237 100644 --- a/st.c +++ b/st.c _AT_@ -1401,14 +1401,13 @@ tscrolldown(int orig, int n) { LIMIT(n, 0, term.bot-orig+1); tclearregion(0, term.bot-n+1, term.col-1, term.bot); + tsetdirt(orig, term.bot-n); + tsetdirt(orig+n, term.bot); for(i = term.bot; i >= orig+n; i--) { temp = term.line[i]; term.line[i] = term.line[i-n]; term.line[i-n] = temp; - - term.dirty[i] = 1; - term.dirty[i-n] = 1; } selscroll(orig, n); _AT_@ -1421,14 +1420,13 @@ tscrollup(int orig, int n) { LIMIT(n, 0, term.bot-orig+1); tclearregion(0, orig, term.col-1, orig+n-1); + tsetdirt(orig, term.bot-n); + tsetdirt(orig+n, term.bot); for(i = orig; i <= term.bot-n; i++) { temp = term.line[i]; term.line[i] = term.line[i+n]; term.line[i+n] = temp; - - term.dirty[i] = 1; - term.dirty[i+n] = 1; } selscroll(orig, -n); -- 1.8.4Received on Sun Apr 20 2014 - 15:26:13 CEST
This archive was generated by hypermail 2.3.0 : Sun Apr 20 2014 - 15:36:06 CEST