Closed
Description
Put into terminal and then increase the window size:
printf "%*s\n" "$(tput cols)" "" | tr " " "X"
Line endings acts like they disappeared if the string length matches exactly the window columns.
The terminal has different behavior for columns +- 1.
The behavior does not depend on the type of shell.