Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# clear console input buffer

while(Console.KeyAvailable) 
{
    Console.ReadKey(false); // true = hide input
}
Console.ReadKey();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clear #console #input #buffer
ADD COMMENT
Topic
Name
9+2 =