X-Git-Url: https://jasonwoof.com/gitweb/?p=watch-my-terminal.git;a=blobdiff_plain;f=terminal.coffee;fp=terminal.coffee;h=242d24683cf4e17f86bfa0cdd015700d1827c360;hp=8b7879b79b51050ff52f32d6b8fcf857b042d229;hb=37d536e72e3e6fa4de536ad916a0a80119f15509;hpb=238684c497185ba7d18860770dc24096c172562b diff --git a/terminal.coffee b/terminal.coffee index 8b7879b..242d246 100644 --- a/terminal.coffee +++ b/terminal.coffee @@ -460,7 +460,7 @@ class Terminal @a = 0 return - # set scrolling region + # set scroll region csi_r: (top, bottom) -> top = -1 + parseInt @fix_esc_arg top, '1' bottom = -1 + parseInt @fix_esc_arg bottom, '10000'