wip: initial scrolling support (no scrollback though)

This commit is contained in:
Daniel Eklöf 2019-06-19 10:27:31 +02:00
parent 71dde121e6
commit efc8cc4914
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 39 additions and 2 deletions

3
grid.h
View file

@ -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);