aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-17 19:16:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-17 19:16:38 +0000
commita9af8290abfa7b2332b9145698cd0593e7db7364 (patch)
tree06e3361c52b1eb5d8cf9d0f59c37f753a88655d6 /grid.h
parentmisc: replace all explicit zero-initializers with empty initializers (diff)
parentrender: resize: no need to clear the selection - just truncate if necessary (diff)
Merge branch 'translate-cursor-coords-when-reflowing'
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/grid.h b/grid.h
index 50e2c2b7..a2ff4b99 100644
--- a/grid.h
+++ b/grid.h
@@ -6,9 +6,11 @@
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);
+ int old_screen_rows, int new_screen_rows,
+ size_t tracking_points_count,
+ struct coord *tracking_points[static tracking_points_count]);
static inline int
grid_row_absolute(const struct grid *grid, int row_no)