summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nyancat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index e7d3f38..44bdf06 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -443,14 +443,14 @@ 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++;
}
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++;
}
@@ -521,6 +521,7 @@ int main(int argc, char ** argv) {
}
}
}
+ alarm(0);
} else {
/* We are running standalone, retrieve the
* terminal type from the environment. */
v-scan-tables.git/commit/dvb-s/Yamal201-90.0E?id=66ec1eabbf6a596b42f6d4802b6aead3e8ba1ad5&follow=1'>Remove legacy entriesMauro Carvalho Chehab129-24898/+0 2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721 2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182 2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666