diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-10-17 16:49:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-10-17 16:49:57 +0000 |
| commit | 0ac0d0647ae996bcef119d885cbd2d22a9940d8d (patch) | |
| tree | 2dae130442babc0988430d30460408f74e2cbb33 /doc | |
| parent | changelog: crash after reverse-scrolling in the normal screen (diff) | |
interactive resize: improve user experience
Re-initialize the temporary ‘normal’ grid instance each time we
receive a configure event while doing an interactive resize.
This way, window content will not be "erased" when the window is first
made smaller, then larger again.
And, if the viewport is up in the scrollback history, increasing the
window size will reveal more of the scrollback, instead of just being
black.
The last issue is the cursor; it’s currently not "stuck" where it
should be. Instead, it follows the window around. This is due to two
things:
1) the temporary grid we create is large enough to contain the current
viewport, but not more than that. That means we can’t "scroll up", to
hide the cursor.
2) grid_resize_without_reflow() doesn’t know anything about
"interactive resizing". As such, it will ensure the cursor is bound
to the new grid dimensions.
I don’t yet have a solution for this. This patch implements a
workaround to at least reduce the impact, by simply hiding the cursor
while we’re doing an interactive resize.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
