Repository navigation
Commit f7a153f
authored
fix(desktop-terminal): follow alternate-screen switches in stream order (#10523)
Alternate-screen switches were tracked over a whole read before its shell
markers were applied, so when one command ended and the next entered the
alternate screen in the same read, the end marker's reset ran last and the
tab reported no full-screen program while one was open. Track each segment
between markers in order, the same way output is attributed.1 parent 09c0b11 commit f7a153f
2 files changed
Lines changed: 36 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
131 | 155 | | |
132 | 156 | | |
133 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
832 | 831 | | |
833 | 832 | | |
834 | 833 | | |
835 | 834 | | |
836 | 835 | | |
837 | 836 | | |
838 | | - | |
839 | | - | |
| 837 | + | |
| 838 | + | |
840 | 839 | | |
841 | 840 | | |
842 | 841 | | |
843 | | - | |
844 | | - | |
| 842 | + | |
845 | 843 | | |
846 | 844 | | |
847 | 845 | | |
848 | | - | |
| 846 | + | |
849 | 847 | | |
850 | 848 | | |
851 | 849 | | |
| |||
858 | 856 | | |
859 | 857 | | |
860 | 858 | | |
861 | | - | |
862 | | - | |
863 | | - | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
864 | 867 | | |
865 | 868 | | |
866 | 869 | | |
| |||
0 commit comments