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. 