Commit 4413deb
Your Name
fix(#155): stop forcing OutputRendering=Ansi, add strikethrough rendering
Issue #155: psmux was forcing $PSStyle.OutputRendering = 'Ansi' during
PowerShell init, overriding the default 'Host' mode. This was a leftover
from early development (commit 2c53984) when it was incorrectly believed
to be needed for ConPTY. ConPTY correctly presents as a console host, so
PowerShell's Host mode auto-detects ANSI capability without help.
Removed the forced OutputRendering from all three PSReadLine init constants
(PSRL_FIX, PSRL_CRASH_GUARD, PSRL_PRED_RESTORE). The actual crash guard
for issue #109 only needs PredictionSource manipulation, not OutputRendering.
Also fixed strikethrough (SGR 9) not rendering: the vt100-psmux parser
already handled the attribute internally, but Cell lacked a strikethrough()
accessor and rendering.rs never mapped it to Modifier::CROSSED_OUT.1 parent 43dd68f commit 4413deb
3 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
193 | 200 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
615 | | - | |
616 | 615 | | |
617 | 616 | | |
618 | 617 | | |
| |||
624 | 623 | | |
625 | 624 | | |
626 | 625 | | |
627 | | - | |
628 | 626 | | |
629 | 627 | | |
630 | 628 | | |
631 | 629 | | |
632 | 630 | | |
633 | 631 | | |
634 | | - | |
635 | | - | |
| 632 | + | |
| 633 | + | |
636 | 634 | | |
637 | | - | |
638 | 635 | | |
639 | 636 | | |
640 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments