Commit 15192cd
committed
Fix tmux -CC attach not showing alternate screen (e.g., vim) correctly
When attaching to a tmux session where a pane is on the alternate screen,
setTmuxState: swaps the primary/alt grid pointers but the read-only state
used for rendering never got the updated content. Mark all cells dirty
after the grid swap and after setAltScreen: writes via memcpy so that the
incremental mergeFrom: sync copies the correct content.1 parent 040a4d3 commit 15192cd
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5820 | 5820 | | |
5821 | 5821 | | |
5822 | 5822 | | |
| 5823 | + | |
5823 | 5824 | | |
5824 | 5825 | | |
5825 | 5826 | | |
| |||
5843 | 5844 | | |
5844 | 5845 | | |
5845 | 5846 | | |
| 5847 | + | |
| 5848 | + | |
| 5849 | + | |
| 5850 | + | |
5846 | 5851 | | |
5847 | 5852 | | |
5848 | 5853 | | |
| |||
0 commit comments