From efc8cc49143c8945e3243380c86571af55e198cd Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 19 Jun 2019 10:27:31 +0200 Subject: wip: initial scrolling support (no scrollback though) --- grid.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grid.h') diff --git a/grid.h b/grid.h index 3b806296..5b016830 100644 --- a/grid.h +++ b/grid.h @@ -10,7 +10,10 @@ void grid_cursor_right(struct grid *grid, int count); void grid_cursor_up(struct grid *grid, int count); void grid_cursor_down(struct grid *grid, int count); +void grid_scroll(struct grid *grid, int rows); + int grid_cursor_linear(const struct grid *grid, int row, int col); + //void grid_cursor_to(struct grid *grid, int pos); //void grid_cursor_move(struct grid *grid, int cols); -- cgit v1.3