Skip to content

Commit

Permalink
Merge pull request CosmosOS#1981 from Project-Magenta/master
Browse files Browse the repository at this point in the history
Make CursorLeft setter use width instead of height
  • Loading branch information
quajak authored Nov 4, 2021
2 parents d276c23 + 791445e commit bf7235f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Cosmos.System2_Plugs/System/ConsoleImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void set_CursorLeft(int x)
throw new ArgumentException("The value x must be at least 0!");
}

if (x < get_WindowHeight())
if (x < get_WindowWidth())
{
xConsole.X = x;
}
Expand Down

0 comments on commit bf7235f

Please sign in to comment.