scroll

scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log | Files | Refs | README

commit c63796d9bdb510b9486b684d93bdd2658ac3abd3
parent 1d4155d592219be59950c2714e785b2daeae6cd5
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Mon, 13 Apr 2020 21:58:06 +0200

add comment for terminal settings

Diffstat:
Mscroll.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scroll.c b/scroll.c @@ -449,8 +449,8 @@ main(int argc, char *argv[]) struct termios new = dfl; cfmakeraw(&new); - new.c_cc[VMIN ] = 1; - new.c_cc[VTIME] = 0; + new.c_cc[VMIN ] = 1; /* return read if at least one byte in buffer */ + new.c_cc[VTIME] = 0; /* no polling time for read from terminal */ if (tcsetattr(STDIN_FILENO, TCSANOW, &new) == -1) die("tcsetattr:");