aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-06-19 08:27:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-06-19 08:27:31 +0000
commitefc8cc49143c8945e3243380c86571af55e198cd (patch)
tree8ad065df8388dff0bdb4e3e90acfa45dedbdd841 /grid.h
parentwip: initial input handling (diff)
wip: initial scrolling support (no scrollback though)
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h3
1 files changed, 3 insertions, 0 deletions
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);