Add option for setting inter-character delay

This commit is contained in:
Jeppe Ledet-Pedersen 2015-04-13 13:45:05 +02:00
parent 4da8253a81
commit bc100643ec
3 changed files with 15 additions and 1 deletions

View file

@ -234,6 +234,10 @@ int connect_tty(void)
/* Forward input to tty device */
status = write(fd, &c_stdin[0], 1);
/* Insert char delay */
if (option.char_delay)
usleep(option.char_delay * 1000);
}
}