-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: dfcaf50dbbb2acdcea00984d4197d4460d41fc98: path_to: revision_to:
commit dfcaf50dbbb2acdcea00984d4197d4460d41fc98 Author: Marc Lehmann <schmorp@schmorp.de> Date: Fri Jul 8 00:23:22 2011 +0000 *** empty log message *** diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C +++ b/src/screen.C @@ -736,6 +736,14 @@ rxvt_term::scr_scroll_text (int row1, int row2, int count) NOTHROW // use a simple and robust scrolling algorithm, this // part of scr_scroll_text is not time-critical. + // sever line above scroll region + if (row1) + { + line_t &l = ROW(row1 - 1); + l.is_longer (0); + l.touch (); + } + int rows = row2 - row1 + 1; min_it (count, rows); @@ -752,6 +760,14 @@ rxvt_term::scr_scroll_text (int row1, int row2, int count) NOTHROW for (int row = 0; row < rows; row++) ROW(row1 + row) = temp_buf [row]; + + // sever bottommost line + { + line_t &l = ROW(row2 - 1); + l.is_longer (0); + l.touch (); + } + } return count;
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:08:59 2024