tview
tview copied to clipboard
Need `minHeight` param for the `InputField`
The inputField accepts input correctly only when the height of the terminal interface exceeds a certain threshold.
But when the height less than the threshold, it fail to take (show) the entered string.
If you're using Flex, please use a "fixedSize" value of 3 in your call to Additem(). If you're using Grid, set the row height to 3 in your call to SetRows(). This should achieve what you need.
ps. Elements don't propagate their size upwards to their container primitives. So there will never be a "minimumHeight" parameter for an InputField.