diff options
author | Chris Luke <chrisy@flirble.org> | 2017-11-12 22:26:37 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-11-13 14:33:32 +0000 |
commit | 2d8bf304230102a6d9b312b98315418617798175 (patch) | |
tree | 599f0fdb8340ae61b8a9c284699e06cf2e7ff9e4 /src/vppinfra/unix-misc.c | |
parent | 192267d490e6f791073236e6e5b303c051cbab48 (diff) |
Instead of a min term size, use a default (VPP-1061)
- In the bug report, Docker was sometimes giving shells
a 0,0 terminal size. The minimum-term-size logic meant
that VPP assumed the terminal had 1 row. The pager
functioned, but of course overwrote the one line with its
own prompt.
- Instead of a minimum size, always use a default size when
the either terminal dimension is 0.
Change-Id: Iee5a465f0e4cbb618ef2222b40a52994aefa54bf
Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'src/vppinfra/unix-misc.c')
0 files changed, 0 insertions, 0 deletions