From c73cc7cbec384c59540a68d4f7371ce39b67b9dd Mon Sep 17 00:00:00 2001 From: root Date: Thu, 22 Dec 2005 18:36:55 +0000 Subject: [PATCH] *** empty log message *** --- src/screen.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/screen.C b/src/screen.C index 236b0ac1..875de08e 100644 --- a/src/screen.C +++ b/src/screen.C @@ -331,10 +331,12 @@ rxvt_term::scr_reset () prow = MOD (p + prow, prev_total_rows); - // we only adjust the cursor _row_, as this seems to upset - // applications/shells/readline least. + // we only adjust the cursor _row_ and put it into + // the topmost line of "long line" it was in, as + // this seems to upset applications/shells/readline + // least. if (prow == ocur.row) - screen.cur.row = qrow - (total_rows - nrow); + screen.cur.row = q - (total_rows - nrow); line_t &pline = old_buf [prow]; -- 2.34.1