diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-12-15 12:24:29 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-12-15 12:24:29 -0300 |
commit | 61a4ae63d3c9444af59755c58b56bc59bd7ef186 (patch) | |
tree | b069a3f1ac80c20644d6b067034825369ce8c7c6 /src/main.c | |
parent | 03c38aa0eeee765b7f237e49b187c3ae3266709f (diff) |
renamed winch to sig_winch. current fg and bg colors are kept if they are not specified in :cellcolor. added comments in tui.c
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -589,7 +589,7 @@ void signals() { void sig_abrt(); void sig_term(); void nopipe(); - void winchg(); + void sig_winchg(); void sig_tstp(); void sig_cont(); @@ -598,7 +598,7 @@ void signals() { signal(SIGTERM, sig_term); // kill signal(SIGPIPE, nopipe); //(void) signal(SIGALRM, time_out); - signal(SIGWINCH, winchg); + signal(SIGWINCH, sig_winchg); //(void) signal(SIGBUS, doquit); //(void) signal(SIGFPE, doquit); signal(SIGTSTP, sig_tstp); @@ -644,7 +644,7 @@ void sig_tstp() { void sig_cont() { signal(SIGTSTP, sig_tstp); /* set handler back to this */ - winchg(); + sig_winchg(); reset_prog_mode(); refresh(); ui_update(TRUE); |