ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.386 by root, Thu Jul 7 23:15:44 2011 UTC vs.
Revision 1.387 by root, Thu Jul 7 23:18:13 2011 UTC

638 638
639 if (count > 0 639 if (count > 0
640 && row1 == 0 640 && row1 == 0
641 && (current_screen == PRIMARY || option (Opt_secondaryScroll))) 641 && (current_screen == PRIMARY || option (Opt_secondaryScroll)))
642 { 642 {
643 min_it (count, row2 - total_rows); 643 min_it (count, row2 + total_rows);
644 644
645 top_row = max (top_row - count, -saveLines); 645 top_row = max (top_row - count, -saveLines);
646 646
647 // scroll everything up 'count' lines 647 // scroll everything up 'count' lines
648 term_start = (term_start + count) % total_rows; 648 term_start = (term_start + count) % total_rows;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines