forked from enlightenment/terminology
simplify code
This commit is contained in:
parent
4bc3357a91
commit
40f0dc6950
|
@ -942,9 +942,8 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
|||
DBG("2 regions args: %i %i", arg, arg2);
|
||||
if (arg >= ty->h) arg = ty->h - 1;
|
||||
if (arg2 > ty->h) arg2 = ty->h;
|
||||
arg2++;
|
||||
ty->state.scroll_y1 = arg - 1;
|
||||
ty->state.scroll_y2 = arg2 - 1;
|
||||
ty->state.scroll_y2 = arg2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue