author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 15 Oct 2008 10:07:38 +0000 (12:07 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 15 Oct 2008 10:10:57 +0000 (12:10 +0200) | ||
commit | cb7138b216275f5197ee621b674b03edd95cf1b6 | |
tree | 572b82cf5ed640677b04977486308e8725ff8479 | tree | snapshot |
parent | 4361847ff7578a8394e25b3127ed680c76a94f78 | commit | diff |
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().
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 | diff | blob | history | |
tig.c | diff | blob | history |