Add paste-functionality to when reading from keyboard.