A few issues still remain: - Inserting text pushes the remainder of the input to a new line at the end of the buffer. - Resizing the terminal height causes numerous issues.
The terminal unit tests were updated so that they don't rely on an arbitrary delay.