The client is not correctly setting the $lastOutputDiv for the main window when the window is re-rendered. Additionally, if the window is scrolled up, this is not set correctly. This means when attempting to append to the last line, it will fail until the line is terminated(at which point it is correctly inserted).
This causes timers to behave oddly since they written to the last line without appending a newline right away.
The client is not correctly setting the $lastOutputDiv for the main window when the window is re-rendered. Additionally, if the window is scrolled up, this is not set correctly. This means when attempting to append to the last line, it will fail until the line is terminated(at which point it is correctly inserted).
This causes timers to behave oddly since they written to the last line without appending a newline right away.