diff options
author | June McEnroe <june@causal.agency> | 2021-01-26 22:33:16 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-26 22:33:16 -0500 |
commit | d7d4572220b234e6774d53b8e893c20e4ff55591 (patch) | |
tree | d9fb8e7aad05ba240d74e2628a7d552d5ae4667b /command.c | |
parent | Add numbers to buffer lines (diff) | |
download | catgirl-d7d4572220b234e6774d53b8e893c20e4ff55591.tar.gz catgirl-d7d4572220b234e6774d53b8e893c20e4ff55591.zip |
Preserve scroll position across reflows
Finally! Changing the message visibility threshold doesn't totally screw up scroll position. Neither do horizontal resizes, but vertical resizes drift because the value of windowTop() changes before and after... The scroll position is anchored to the top of the window. It's arbitrary whether to anchor the top or the bottom, but other scrolling commands like M-p and C-r are anchored to the top, so this is consistent.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions