Resize function not truncating strings properly when length exceeds target
Resize function not truncating strings properly when length exceeds target: a task in UltraTerminal (Harbor dataset). The Resize function in util/strutil is not working correctly when the input string is longer than the target length. Instead of truncating the string and adding ellipsis, it…
The task
The `Resize` function in `util/strutil` is not working correctly when the input string is longer than the target length. Instead of truncating the string and adding ellipsis, it appears to be doing the opposite behavior.
Part of harness-hub/UltraTerminal.