Keyboard buffer
A keyboard buffer is a section of computer memory used to hold keystrokes before they are processed.
Keyboard buffers have long been used in command-line processing. As a user enters a command, they see it echoed on their terminal and can edit it before it is processed by the computer.