Anonymous user
Keyboard input/Flush the keyboard buffer: Difference between revisions
Keyboard input/Flush the keyboard buffer (view source)
Revision as of 19:34, 21 April 2016
, 8 years ago→{{header|PowerShell}}
Line 244:
$Host.UI.RawUI.ReadKey() | Out-Null
}</lang>
To flush the keyboard buffer use:
<lang powershell>
$Host.UI.RawUI.FlushInputBuffer()
</lang>
=={{header|PureBasic}}==
|