aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-06-23 16:02:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-06-23 16:02:49 +0000
commitb0a2c54fe841545d21e79b5bb559cc2dc9d3353f (patch)
tree0db0c296bb59660d9872fed0f41aef9bf4767b15 /grid.h
parentcsi/vt: fix logging of intermediate characters (diff)
vt: wip: implement scrolling region
This is largely untested, but existing scrolling code has been converted to using a terminal-global scrolling region that is defined as start-end of the scrollable region. This is compared to the old code where the scrolling region where defined in terms of marginals, counted in lines from top and from bottom.
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/grid.h b/grid.h
index 1951f54f..9a52b108 100644
--- a/grid.h
+++ b/grid.h
@@ -5,8 +5,7 @@
void grid_damage_update(struct grid *grid, int start, int length);
void grid_damage_erase(struct grid *grid, int start, int length);
void grid_damage_scroll(
- struct grid *grid, enum damage_type damage_type,
- int top_margin, int bottom_margin, int lines);
+ struct grid *grid, enum damage_type damage_type, int lines);
void grid_erase(struct grid *grid, int start, int end);