summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-04 02:30:18 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-04 04:25:19 -0400
commit90422fb932153b0fa414480be0ffb1ec641b83da (patch)
tree0f69d89487fa8cc73f7297e137d28e00e51ad522 /src/screen.c
parent7ec1440e6f4c0f9aa90c0bbe570fcc829851f0c7 (diff)
downloadlibvt100-90422fb932153b0fa414480be0ffb1ec641b83da.tar.gz
libvt100-90422fb932153b0fa414480be0ffb1ec641b83da.zip
apparently setting the scroll region shouldn't actually move the cursor
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index c3c6af7..1dc8f75 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -628,8 +628,6 @@ void vt100_screen_set_scroll_region(
vt->grid->scroll_bottom = bottom >= vt->grid->max.row
? vt->grid->max.row - 1
: bottom;
-
- vt100_screen_move_to(vt, vt->grid->scroll_top, 0, 0);
}
void vt100_screen_reset_text_attributes(VT100Screen *vt)