diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-29 19:53:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-29 19:53:29 +0000 |
| commit | 8f5e6e85e0401a0071814c6dac7f16adb3b0b6e4 (patch) | |
| tree | 68c393cc8b3e475af2e9cd22e2e0602243f0e4f1 /sixel.h | |
| parent | changelog: slave -> client (diff) | |
sixel: destroy all sixels when font size is decreased
If changing the font size causes the cell size to decrease, either
horizontally or vertically (or both), then delete all sixels since the
grid space they allocated no longer is enough to hold the images.
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ void sixel_put(struct terminal *term, uint8_t c); void sixel_unhook(struct terminal *term); void sixel_destroy(struct sixel *sixel); +void sixel_destroy_all(struct terminal *term); /* * Deletes all sixels that are touched by the specified row(s). Used |
