Processes input events for the terminal emulator.
Maps an input event to a terminal command.
Creates a new input processor.