Closed
Description
Describe the bug
program crashes when showing help if terminal height is less than help modal height
To Reproduce
Steps to reproduce the behavior:
- run
gitui
- change the height of the terminal to a very short height (ex 15 chars)
- press
h
to display help
Expected behavior
A warning about the terminal height maybe but no crash.
Desktop (please complete the following information):
- OS: Windows 10 / Debian
- Version: master branch
Additional context
This is an issue when the tool is used in integrated terminals inside IDE where the user might resize the terminal often.
Activity