From 5546b40369b7bc20201a8f3a327be0ff84af7f5a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 16 Apr 2020 19:38:30 +0200 Subject: grid: grid_reflow() now translates cursor coordinates --- grid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grid.h') 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); -- cgit v1.3