summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++;
s.git/commit/dvb-c/de-Primacom?id=5c1672bd77b1e3bbe0c5f09feef834a3cc4ef9fe&follow=1'>update scan file for de-PrimacomChristoph Pfister1-0/+5 2010-04-29update scan file for dk-AllChristoph Pfister1-5/+11 2010-04-29update scan file for fi-TurkuChristoph Pfister1-1/+7 2010-04-29update scan file for uk-AberdareChristoph Pfister1-10/+15 2010-04-29update scan file for fr-NantesChristoph Pfister1-6/+6