… | |
… | |
1811 | * the top of the screen |
1811 | * the top of the screen |
1812 | */ |
1812 | */ |
1813 | void |
1813 | void |
1814 | rxvt_term::scr_move_to (int y, int len) |
1814 | rxvt_term::scr_move_to (int y, int len) |
1815 | { |
1815 | { |
1816 | int p = (top_row - nrow) * (len - y) / len + (nrow - 1); |
1816 | scr_changeview ((top_row - nrow) * (len - y) / len + (nrow - 1)); |
1817 | |
|
|
1818 | scr_changeview (p); |
|
|
1819 | } |
1817 | } |
1820 | |
1818 | |
1821 | /* ------------------------------------------------------------------------- */ |
1819 | /* ------------------------------------------------------------------------- */ |
1822 | /* |
1820 | /* |
1823 | * Page the screen up/down nlines |
1821 | * Page the screen up/down nlines |