The short answer is no.
The long answer is that in the standard ANSI character set there are several control characters (from decimal to decimal to 31, inclusive), including control codes for line feed, carriage return, end of file, and so on. Some of them are usually interpreted as arrows and an evacuation key, but only for compatibility with terminals.
Standard PC keyboards send a 2- or 3-byte control code that represents the key pressed, what state it is in, which controls the / Alt / Shift key, and several other things. You will need to find the βkey codesβ to see how to handle them. Their processing differs between the operating systems and the underlying libraries you use, and their meaning varies depending on the keyboard configuration set by the operating system (which may contain characters not found in the ANSI character set).
source share