Update window without waiting for key press
Currently, if the terminal is resized then the window does not get redrawn. This is due to it waiting for another keypress.
Maybe there is a way to wait for either a key press or resize event?
Currently, if the terminal is resized then the window does not get redrawn. This is due to it waiting for another keypress.
Maybe there is a way to wait for either a key press or resize event?