diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2014-11-19 03:30:04 +0100 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-11-19 03:31:47 +0100 | 
| commit | a5e0c0ea7161b2c248c0347314afa851560e1a41 (patch) | |
| tree | 87226a6c11092ab16bc546fa015b704c8302ea04 /src | |
| parent | 2562d108fab3ab2585394cc7da77edb50ee142d9 (diff) | |
| download | tdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.tar.gz tdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.tar.xz tdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.zip | |
Update termotermo
Diffstat (limited to 'src')
| -rw-r--r-- | src/sdtui.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/sdtui.c b/src/sdtui.c index f607cc9..43aa352 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -1249,12 +1249,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS  	if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0)))  		abort (); -	if (!initscr () -	 || noecho () == ERR -	 || nonl () == ERR) +	if (!initscr () || nonl () == ERR)  		abort (); -	// TODO: catch SIGINT as well +	// TODO: catch SIGINT and SIGTERM as well  	if (pipe (g_winch_pipe) == -1)  		abort ();  	install_winch_handler (); | 
