Commit 433fdc8
fix(cli): resolve fmt.Printf format string mismatches causing rendering artifacts
- Fix RenderOption: format string had 12 %%s specifiers but only 11 args,
causing %!s(MISSING) and %!s(EXTRA) artifacts in TUI output.
Replaced with simple string concatenation.
- Fix CloseSection: format string read arg #6 but only 5 args provided.
Added empty string arg to match.
- Fix theme.Sprintf non-constant format string warnings in Header() and DimText().
Replaced with direct string concatenation.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b7d77ac commit 433fdc8
2 files changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 87 | + | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
| |||
147 | 143 | | |
148 | 144 | | |
149 | 145 | | |
150 | | - | |
| 146 | + | |
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments