zygo

ncurses gopher client
Log | Files | Refs

commit d5e9cee0a73c92066076a476056b39759fdbb4bf
parent 93d6cc1986793b3cdc208381cc7c1f9dc380292c
Author: hhvn <dev@hhvn.uk>
Date:   Tue, 18 Jan 2022 18:06:44 +0000

zygo.c: don't clear error after stimeout

This used to make sense before when the error wasn't printed in draw_bar.

Diffstat:
Mzygo.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/zygo.c b/zygo.c @@ -569,7 +569,6 @@ error(char *format, ...) { va_end(ap); draw_bar(); - alarm(stimeout); } Scheme * @@ -1044,12 +1043,6 @@ gonum: void sighandler(int signal) { switch (signal) { - case SIGALRM: - ui.candraw = 1; - ui.error = 0; - draw_bar(); - refresh(); - break; case SIGCHLD: while (waitpid(-1, NULL, WNOHANG) == 0); break;