feat: Improve gain command display#31
Conversation
jspelletier
commented
Apr 14, 2026
- Detect terminal width and adapt the command column dynamically
- Add --nocommand-truncate flag to disable truncation entirely
- Update help text and README
- Detect terminal width and adapt the command column dynamically - Add --nocommand-truncate flag to disable truncation entirely - Update help text and README Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Hey @jspelletier, Thanks for this PR -- dynamic terminal width detection is a real improvement over the hardcoded truncation values. Two things before merging: 1. Missing tests
Lines 162 to 168 in 6144bd7 2. Flag naming
Lines 63 to 64 in 6144bd7 |
|
Ok. I will ask Claude to add some tests. --no-truncate is ok for me. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Thanks @jspelletier -- tests and flag rename look great, CI is green. Merging! |
|
@edouard-claude Yesterday night I saw there was a CI problem with the w.Close() result not tested. You fixed it ? [Edit] Ok I saw you assigned to _. Thanks |