You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ncoding()
Old:
$ echo -e "$(tput smul)A$(tput rmul) B\nC D" | column --table
A B
C D
Fixed:
$ echo -e "$(tput smul)A$(tput rmul) B\nC D" | ./column --table
A B
C D
Addresses: #1011
Signed-off-by: Karel Zak <kzak@redhat.com>
It's libsmartcols bug. It uses by default calculation that assumes \x for all unprintable chars -- this feature is disabled for column(1), but libsmartcols still uses it in many places.
Currently, there is no way to instruct
column
utility to adjust width computation with terminal capabilities. Example:When provided with
--term
option,column
could useterminfo
database to adjust the computation of column width accordingly.EDIT:
Version tested: 2.35.1-1.1
Related issue #252
Terminal emulator: urxvt, alacritty
Shell: bash 5.0.16
The text was updated successfully, but these errors were encountered: