aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-09 14:17:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-10-10 15:19:18 +0000
commit298f210ed93a83a531a44f772172da7f64510217 (patch)
tree7830b31070c56144007bed74d8014aa6cf6bde7e /grid.c
parentrender: resize: do delayed reflow immediately when failing to arm tiocswinsz timer (diff)
render: rename term->render.resizing -> term->interactive_resizing
But also, more importantly, logical fixes: * Stash the number of new scrollback lines the stashed ‘normal’ grid should be resized *to*. There’s also a couple of performance changes here: * When doing a delayed reflow (tiocswinsz timer), call sixel_reflow_grid(term, &term->normal) - there’s no need to reflow sixels in the ‘alt’ screen. * When doing a delayed reflow, free all scroll damage. It’s not needed, since we’re damaging the entire window anyway. * Use minimum size for the temporary ‘normal’ grid (that contains the current viewport). We just need it to be large enough to fit the current viewport, and be a valid grid row count (power of 2). This just so happens to be the current ‘alt’ grid’s row count...
Diffstat (limited to 'grid.c')
0 files changed, 0 insertions, 0 deletions