mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add option for setting inter-character delay
This commit is contained in:
parent
4da8253a81
commit
bc100643ec
3 changed files with 15 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue