diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 19:12:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 19:12:32 +0000 |
| commit | 2fe7145aff1cf710fc00519a0f72199c3fa0a929 (patch) | |
| tree | 02c6de8abe717252630ddb4b8c4f580380af6ba8 /grid.h | |
| parent | csi: recognize, but do nothing, for civis, cvvis (diff) | |
scrolling region: wip
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,7 +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 lines); + struct grid *grid, enum damage_type damage_type, int offset, int lines); void grid_erase(struct grid *grid, int start, int end); @@ -18,6 +18,9 @@ void grid_cursor_down(struct grid *grid, int count); void grid_scroll(struct grid *grid, int rows); void grid_scroll_reverse(struct grid *grid, int rows); +void grid_scroll_partial(struct grid *grid, int offset, int rows); +void grid_scroll_reverse_partial(struct grid *grid, int offset, int rows); + int grid_cursor_linear(const struct grid *grid, int row, int col); |
