# Fix for terminal window columns and rows mismatch inside the container

**URL:** <https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222>\
**Category:** Development\
**Created:** [June 6, 2018, 5:10am UTC](https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222 "2018-06-06T05:10:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [June 6, 2018, 11:45pm UTC](https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222/4 "2018-06-06T23:45:46Z")

</div>

You have changed my life dramatically for the better.

I’ll add to my list submitting a PR to pass the size. It looks simple enough that I could do it. 😉

```
docker run --rm -it -e COLUMNS=$COLUMNS -e LINES=$LINES -e TERM=$TERM -it ubuntu:16.04 tput lines

```

---

_[View the full topic](https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222)._
