Repository navigation
Commit f0723f5
fix(skills/bounding-heavy-commands): print a control character of a held command as a question mark
The held lines of the check folded whitespace but kept other control characters, so an argument or a path with a terminal escape sequence went to the terminal as it was and could change what the check showed. Each character that is not printable is now a question mark.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 5430ca6 commit f0723f5
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
767 | 773 | | |
768 | 774 | | |
769 | 775 | | |
| |||
773 | 779 | | |
774 | 780 | | |
775 | 781 | | |
776 | | - | |
777 | | - | |
| 782 | + | |
778 | 783 | | |
779 | 784 | | |
780 | 785 | | |
| |||
805 | 810 | | |
806 | 811 | | |
807 | 812 | | |
808 | | - | |
| 813 | + | |
809 | 814 | | |
810 | 815 | | |
811 | 816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1140 | 1145 | | |
1141 | 1146 | | |
1142 | 1147 | | |
| |||
0 commit comments