aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-16 17:38:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-16 17:38:30 +0000
commit5546b40369b7bc20201a8f3a327be0ff84af7f5a (patch)
tree7c55ea4cdc30e60c8b60290c02e27b701082af5a /grid.h
parentgrid: move 'cursor' state from terminal to grid (diff)
grid: grid_reflow() now translates cursor coordinates
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.h b/grid.h
index 50e2c2b7..d4045189 100644
--- a/grid.h
+++ b/grid.h
@@ -6,7 +6,7 @@
void grid_swap_row(struct grid *grid, int row_a, int row_b, bool initialize);
struct row *grid_row_alloc(int cols, bool initialize);
void grid_row_free(struct row *row);
-int grid_reflow(
+void grid_reflow(
struct grid *grid, int new_rows, int new_cols,
int old_screen_rows, int new_screen_rows);