Avoids initial black screen after moving the mouse at first time.

This commit is contained in:
BDisp
2024-11-23 11:44:06 +00:00
parent 38e05dd6da
commit 5c1c002418

View File

@@ -683,12 +683,9 @@ internal class CursesDriver : ConsoleDriver
if (!RunningUnitTests)
{
Curses.CheckWinChange ();
ClearContents ();
if (Force16Colors)
{
Curses.refresh ();
}
// On Init this call is needed no mater Force16Colors or not
Curses.refresh ();
EscSeqUtils.ContinuousButtonPressed += EscSeqUtils_ContinuousButtonPressed;
}