diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-06 17:14:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-06 17:14:46 +0000 |
| commit | 61f950f77ac52779b5fcf34c628df4caee791af4 (patch) | |
| tree | b28e8bdc5367a1a546fce33f653d869008d4a57b /grid.h | |
| parent | changelog: scrollback indicator did not exist in 1.4(.4) (diff) | |
grid: reflow: calculate width of composed characters correctly
Before this patch, reflow called `wcwidth()` on our magic values for
composed characters.
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,9 @@ void grid_reflow( struct grid *grid, int new_rows, int new_cols, int old_screen_rows, int new_screen_rows, size_t tracking_points_count, - struct coord *const tracking_points[static tracking_points_count]); + struct coord *const tracking_points[static tracking_points_count], + size_t compose_count, + const struct composed composed[static compose_count]); static inline int grid_row_absolute(const struct grid *grid, int row_no) |
