Commit f42d82a
committed
fix(ui): fully dim dashboard when help overlay is shown
When the help overlay was displayed on top of the dashboard, only the
intersecting region appeared dimmed. The root cause: cancelFaint injects
\033[22m (normal intensity) into each overlay line to keep it bright,
and these codes survived into the composited result. A subsequent
dimBackground pass couldn't override them.
Fix: dimBackground now replaces \033[22m with \033[2m before applying
its own faint, so nested overlays dim the entire background uniformly.
Closes #1461 parent d303ddd commit f42d82a
2 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
952 | 956 | | |
953 | 957 | | |
954 | 958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
0 commit comments