Fixing Terminal Row & Columns Display on Docker and Linux

Ever faced garbled screen on a terminal, text wrapping over and screen command string messed up! It happens because the terminal is using default row and column value (e.g. columns = 80). The following command fixes it (tested on Docker container’s terminal) docker exec -e COLUMNS=”`tput cols`” -e LINES=”`tput lines`” -ti How it Works? tput […]

Read more