mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add option '--output-line-delay-char cr|lf'
This commit is contained in:
parent
9e51d2e4ee
commit
e62a23f320
4 changed files with 38 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ ssize_t tty_write(int fd, const void *buffer, size_t count)
|
|||
fsync(fd);
|
||||
tcdrain(fd);
|
||||
|
||||
if (option.output_line_delay && cbuf[i] == '\n')
|
||||
if (option.output_line_delay && cbuf[i] == option.output_line_delay_char)
|
||||
{
|
||||
delay(option.output_line_delay);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue