diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-17 19:04:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-17 19:04:32 +0000 |
| commit | ef52ed8a109af7512bd9e9ed62d74e36ae2deb41 (patch) | |
| tree | 7469fb01132b8eaf12f430f1273c7cc95dc9c258 /grid.h | |
| parent | grid: reflow: generalize cursor coordinate translation (diff) | |
grid: reflow: caller may now pass a list of coordinates that should be translated
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,7 +8,9 @@ struct row *grid_row_alloc(int cols, bool initialize); void grid_row_free(struct row *row); 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) |
