Cause the byte string char to be “pushed back” into the console buffer; it will be the next character read by getch() or getche().
msvcrt/ungetch
ungetch