Skip to content

Commit

Permalink
Restore return if unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Nov 27, 2024
1 parent c150cd3 commit 03960f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Terminal.Gui/ConsoleDrivers/WindowsDriver/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ public WindowsConsole.ConsoleKeyInfoEx ToConsoleKeyInfoEx (WindowsConsole.KeyEve

public override void UpdateCursor ()
{
if (RunningUnitTests)
{
return;
}

if (Col < 0 || Row < 0 || Col >= Cols || Row >= Rows)
{
GetCursorVisibility (out CursorVisibility cursorVisibility);
Expand Down

0 comments on commit 03960f9

Please sign in to comment.