Key.clear

From MiniScript Wiki
Revision as of 23:50, 23 March 2020 by 71.226.33.30 (talk) (Created page with "<c>key.clear</c> clears the keyboard input buffer. This is often used before exiting a game, so that any key presses made during the game don't spill out into the command lin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

key.clear clears the keyboard input buffer. This is often used before exiting a game, so that any key presses made during the game don't spill out into the command line.

See also: key.available; key.get

Example

key.clear