summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nyancat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index 2137849..cef7034 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -443,6 +443,7 @@ int main(int argc, char ** argv) {
if (sb[0] == TTYPE) {
/* This was a response to the TTYPE command, meaning
* that this should be a terminal type */
+ alarm(0);
alarm(2);
strcpy(term, &sb[2]);
done++;
@@ -450,6 +451,7 @@ int main(int argc, char ** argv) {
else if (sb[0] == NAWS) {
/* This was a response to the NAWS command, meaning
* that this should be a window size */
+ alarm(0);
alarm(2);
terminal_width = sb[2];
done++;
ions'>-167/+770 2004-03-03[lcd4linux @ 2004-03-03 03:41:02 by reinelt]reinelt1-9/+11 2004-03-01[lcd4linux @ 2004-03-01 04:29:51 by reinelt]reinelt4-24/+55 2004-02-29[lcd4linux @ 2004-02-29 17:09:53 by reinelt]reinelt5-15/+226 2004-02-29[lcd4linux @ 2004-02-29 14:30:59 by reinelt]reinelt1-2/+10 2004-02-27[lcd4linux @ 2004-02-27 07:06:24 by reinelt]reinelt5-11/+200 2004-02-27[lcd4linux @ 2004-02-27 06:07:55 by reinelt]reinelt2-21/+40 2004-02-26[lcd4linux @ 2004-02-26 21:42:45 by reinelt]reinelt1-3/+12