Commit 18f2867
committed
infocmp -C: keep the charset-off in me for custom-charset (cons) entries
When smacs/rmacs are dropped for consistency (custom, non-identity acsc), the reset's
own charset-off is meaningful, so the trim-paths of _nc_trim_sgr0 yield the raw sgr@0
instead of the trimmed form (hp2622 \E&d@\017, dku7102 \E[0m\017). The sgr0-return
paths are unchanged, so the entries that legitimately reduce to sgr0 are unaffected.
Termcap (-C) content 93.4% -> 95.5%, exact 44.2%. terminfo -1 100%; tests green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CbiPgWC3PHKmrTNvZzXcWQ1 parent 98d7788 commit 18f2867
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
| |||
661 | 665 | | |
662 | 666 | | |
663 | 667 | | |
664 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
665 | 672 | | |
666 | 673 | | |
667 | 674 | | |
| |||
674 | 681 | | |
675 | 682 | | |
676 | 683 | | |
677 | | - | |
| 684 | + | |
678 | 685 | | |
679 | 686 | | |
680 | 687 | | |
| |||
0 commit comments