diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-15 09:39:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-15 09:39:59 +0000 |
| commit | d2c0a65b70705b3905f7d10937709b0869956868 (patch) | |
| tree | 1156b91715e52be0e06b670f537331b2561bd154 | |
| parent | grid: reflow: no need to check for combining characters (diff) | |
render: set tracking point count to 0 if there’s no active selection
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3242,7 +3242,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force) /* Resize grids */ grid_resize_and_reflow( &term->normal, new_normal_grid_rows, new_cols, old_rows, new_rows, - ALEN(tracking_points), tracking_points, + term->selection.end.row >= 0 ? ALEN(tracking_points) : 0, tracking_points, term->composed_count, term->composed); grid_resize_without_reflow( |
