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