summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Lange <k@dakko.us>2012-09-12 17:40:49 -0700
committerKevin Lange <kevin.lange@dakko.us>2012-09-12 17:42:27 -0700
commit01f6c5ec53c2e545a089fc3c885bd5584c5e6821 (patch)
tree499814ab5de43ec3f35a528621ee14e276e99f8e
parentc035cf7f9ba1fdc07f77d6fa2e37e1e48c6ee3dd (diff)
downloadnyancat-01f6c5ec53c2e545a089fc3c885bd5584c5e6821.tar.gz
Support the Suckless simple terminal
`st` supports xterm-256color escapes, so just treat it the same as we treat xterm.
-rw-r--r--src/nyancat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index 67820ef..d6eb4e4 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -549,6 +549,8 @@ int main(int argc, char ** argv) {
ttype = 3; /* Accepts LINUX mode */
} else if (strstr(term, "vt100") && terminal_width == 40) {
ttype = 7; /* No color support, only 40 columns */
+ } else if (!strncmp(term, "st", 2)) {
+ ttype = 1; /* suckless simple terminal is xterm-256color-compatible */
} else {
ttype = 2; /* Everything else */
}
='insertions'>+13 2019-03-25UPC Czech Republic: added more muxes and change QAM/256 on 626 MHzJosef Schlehofer1-3/+19 They recently changed QAM to 256 (from 64) on 626 MHz Source: https://www.upczone.cz/topic/5650-nov%C3%A9-stanice/?do=findComment&comment=98118 2019-03-25Update Astra-19.2ECvH1-4/+5 2019-03-14Intelsat-907-27.5W: update from current LyngSat dataMauro Carvalho Chehab1-24/+197 Update channel list from LyngSat. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 2019-03-14Intelsat-905-24.5W: update from current LyngSat dataMauro Carvalho Chehab1-18/+711 Update channel list from LyngSat. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 2019-03-14Add missing satellitesMauro Carvalho Chehab219-2/+61017 The entries for those satellites were obtained from www.lyngsat.com via script. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>