Solution 1:
$ echo $TERM $LINES $COLUMNS
screen-256color 41 146
$ docker exec -it -e TERM=$TERM -e LINES=$LINES -e COLUMNS=$COLUMNS YOUR_CONTAINER_NAME bash
Solution 2:
$ reset
Solution 3:
$ stty size
41 146
$ stty rows 41 cols 146
screen-256color 41 146
41 146
No comments:
Post a Comment