Retain scrollback position when resizing #143
Manually merged
dnkl
merged 3 commits from reflow-retain-scrollback-position
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'reflow-retain-scrollback-position'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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...
Closes #142
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.
9015f37198
into master manually 2 years ago9015f37198
.