Fix waiting for input after executing a run request in pager mode
authorJonas Fonseca <fonseca@diku.dk>
Wed, 15 Oct 2008 10:07:38 +0000 (12:07 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 15 Oct 2008 10:10:57 +0000 (12:10 +0200)
commitcb7138b216275f5197ee621b674b03edd95cf1b6
tree572b82cf5ed640677b04977486308e8725ff8479
parent4361847ff7578a8394e25b3127ed680c76a94f78
Fix waiting for input after executing a run request in pager mode

When in pager mode, stdin should not be touched. After executing a run
request a getc(stdin) was done to wait for the user's command to
continue, which didn't result in the expected behavior. To fix this
store the proper TTY handle in the new opt_tty variable which is set up
by init_display().
NEWS
tig.c