Simple life, Complicated mind
Thursday, May 31, 2018
Terminal display messed up when using tmux vim and docker container
Terminal display messed up when using tmux vim and docker container
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
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment