Retain the scrollback position when resizing the window.
The position is anchored to the top line in the viewport. It is implemented by treating the first cell on that line as a tracking point, and translating it while reflowing the text.
This appears to work, but past experience tells me there will be corner cases that could potentially crash foot. Thus, I really would appreciate feedback. But be careful while testing.
I'll be running this branch myself for a while before merging this. But I don't resize windows that often, and especially not while having scrolled up in the scrollback...
I'll test this branch too and report any issues.
I've not seen any issues with this so far. Will probably merge within a couple of days.
I haven't noticed any issue either with this patch.
No due date set.
This pull request currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?