mirror of
https://github.com/wez/wezterm.git
synced 2024-12-28 07:55:03 +03:00
d36ad7ca7f
At 80x24 (< 2k cells), sending all 24 lines of the viewport as an optimistic prefetch is "OK", but for full screen 4k (80*250 = 20k cells) the volume is oversized and pushes latency up. This commit dials that back down to the minimal useful data; the cursor row + any changed rows in the viewport. When navigating in vim that reduces things down to 2 rows of prefetch per movement, assuming that the status line is being updated to show the cursor position. This feels a little more snappy for me. refs: https://github.com/wez/wezterm/issues/2503 refs: https://github.com/wez/wezterm/issues/1872 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |