Commit 8475d51
authored
fix(tui): remove duplicate context statusline item (#18054)
Addresses #18045
Problem: `/statusline` exposed both `context-remaining` and
`context-remaining-percent` after conflicting PRs attempted to address
the same context-status issue, including #17637, allowing duplicate
footer segments.
Solution: Remove the duplicate `context-remaining-percent` status-line
item and update status-line tests and snapshots to use only canonical
`context-remaining`.1 parent b4be361 commit 8475d51
5 files changed
Lines changed: 13 additions & 50 deletions
File tree
- codex-rs/tui/src
- bottom_pane
- snapshots
- chatwidget
- snapshots
- tests
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
| |||
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 118 | | |
126 | 119 | | |
127 | 120 | | |
| |||
321 | 314 | | |
322 | 315 | | |
323 | 316 | | |
324 | | - | |
| 317 | + | |
325 | 318 | | |
326 | 319 | | |
327 | 320 | | |
| |||
332 | 325 | | |
333 | 326 | | |
334 | 327 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 328 | | |
348 | 329 | | |
349 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | 917 | | |
936 | 918 | | |
937 | 919 | | |
| |||
1200 | 1182 | | |
1201 | 1183 | | |
1202 | 1184 | | |
1203 | | - | |
| 1185 | + | |
1204 | 1186 | | |
1205 | 1187 | | |
1206 | 1188 | | |
| |||
1211 | 1193 | | |
1212 | 1194 | | |
1213 | 1195 | | |
1214 | | - | |
| 1196 | + | |
1215 | 1197 | | |
1216 | 1198 | | |
1217 | 1199 | | |
| |||
1228 | 1210 | | |
1229 | 1211 | | |
1230 | 1212 | | |
1231 | | - | |
| 1213 | + | |
1232 | 1214 | | |
1233 | 1215 | | |
1234 | 1216 | | |
| |||
0 commit comments