79303208

Date: 2024-12-23 13:27:02
Score: 1.5
Natty:
Report link

As previously answered here: Console.Clear(); doesn't clean up the whole console

Console.Clear();

Console.WriteLine("\x1b[3J");

This sequence removes the whole content of the console. (But it only works reliable if the clear command is called first)

As described here: https://learn.microsoft.com/en-us/windows/console/clearing-the-screen

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ryan Gaudion