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.444 by sf-exg, Tue Apr 2 21:03:35 2013 UTC vs.
Revision 1.445 by sf-exg, Fri Apr 12 07:54:15 2013 UTC

1897 * the top of the screen 1897 * the top of the screen
1898 */ 1898 */
1899void 1899void
1900rxvt_term::scr_move_to (int y, int len) NOTHROW 1900rxvt_term::scr_move_to (int y, int len) NOTHROW
1901{ 1901{
1902 scr_changeview ((top_row - nrow) * (len - y) / len + (nrow - 1)); 1902 // lerp (y, 0, len, top_row, nrow - 1)
1903 scr_changeview (top_row + (nrow - 1 - top_row) * y / len);
1903} 1904}
1904 1905
1905/* ------------------------------------------------------------------------- */ 1906/* ------------------------------------------------------------------------- */
1906/* 1907/*
1907 * Page the screen up/down nlines 1908 * Page the screen up/down nlines

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines