Commit 2e9fb11
committed
fix(theme): clear per-pane OSC colors on alt-screen exit
OSC 4/10/11 overrides outlived the process that set them. A theme
change left them intact, so an editor re-querying colors on reopen
(helix) reverted the pane to the old theme.
Clear a pane's OSC overrides when it leaves the alternate screen —
the full-screen app that set them is exiting. Running apps keep
their overrides across a theme change; only the bg reset is pushed
to the frontend so the OSC-11-derived window background follows.1 parent 6194297 commit 2e9fb11
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
1515 | 1519 | | |
1516 | 1520 | | |
1517 | 1521 | | |
| |||
1535 | 1539 | | |
1536 | 1540 | | |
1537 | 1541 | | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1538 | 1559 | | |
1539 | 1560 | | |
1540 | 1561 | | |
| |||
0 commit comments