mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Allow CSI 0;0r to set default scroll region (previously did nothing useful)
[originally from svn r85]
This commit is contained in:
parent
ab681763af
commit
9a5b63aa03
@ -934,7 +934,7 @@ void term_out(void) {
|
||||
top = def(esc_args[0], 1) - 1;
|
||||
if (top < 0)
|
||||
top = 0;
|
||||
bot = (esc_nargs == 1 ? rows :
|
||||
bot = (esc_nargs <= 1 || esc_args[1] == 0 ? rows :
|
||||
def(esc_args[1], rows)) - 1;
|
||||
if (bot >= rows)
|
||||
bot = rows-1;
|
||||
|
Loading…
Reference in New Issue
Block a user