mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
[answerback] decrease wait time
This commit is contained in:
parent
809ce12216
commit
16e96b6e19
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ int main()
|
||||||
struct termios new_term = old_term;
|
struct termios new_term = old_term;
|
||||||
new_term.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL | ICANON);
|
new_term.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL | ICANON);
|
||||||
new_term.c_cc[VMIN] = 0;
|
new_term.c_cc[VMIN] = 0;
|
||||||
new_term.c_cc[VTIME] = 10;
|
new_term.c_cc[VTIME] = 1;
|
||||||
|
|
||||||
if (tcsetattr(fd, TCSAFLUSH, &new_term) == -1)
|
if (tcsetattr(fd, TCSAFLUSH, &new_term) == -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue