Typeahead

Typeahead is a feature of computers and software (and some typewriters) that enables users to continue typing regardless of program or computer operation—the user may type in whatever speed is desired, and if the receiving software is busy at the time it will be called to handle this later.

[1] Often this means that keystrokes entered will not be displayed on the screen immediately.

The IBM Selectric typewriter, first released in 1961, had a mechanical key lockout feature designed to smooth out typists' irregular keystrokes[2] that, to many users, felt like typeahead.

Achieving true typeahead requires maintaining a so-called "typeahead buffer"—a FIFO queue, for instance—whose role it is to store a limited amount of keyboard input until it is called for.

Installing such a buffer can be done at both the hardware and the software levels; most modern operating systems, such as Unix, implement this using software, calling kernel interrupts.