diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-22 10:14:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-22 10:14:56 +0000 |
| commit | 48091966cb49d634b02562b137343c47d0710ad8 (patch) | |
| tree | f53fb3295e2b5df70eccafad83a400e236fbb389 /scripts | |
| parent | server: purge *all* buffers when a terminal shuts down (diff) | |
render: resize: update saved 'normal' cursor if we're in alt screen
When resizing in alt mode, we never updated the saved 'normal'
cursor. This meant that when we exited alt mode, the cursor would be
positioned where it was in the old pre-resize/reflow grid.
Now, we update the saved cursor in the same way we update visible
cursor. The result is that when we exit the alt screen, the cursor
is restored to the same coordinates it would have been updated to had
the resize been done in the 'normal' screen.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
