d4848269e8
nyancat is an animated, color, ANSI-text program that renders a loop of the classic Nyan Cat animation. nyancat makes use of various ANSI escape sequences to render color, or in the case of a VT220, simply dumps text to the screen.
13 lines
563 B
Plaintext
13 lines
563 B
Plaintext
$OpenBSD: patch-src_nyancat_c,v 1.1.1.1 2012/11/05 22:20:37 sthen Exp $
|
|
--- src/nyancat.c.orig Sun Oct 7 19:41:43 2012
|
|
+++ src/nyancat.c Mon Nov 5 22:12:33 2012
|
|
@@ -545,6 +545,8 @@ int main(int argc, char ** argv) {
|
|
ttype = 6; /* No color support */
|
|
} else if (strstr(term, "fallback")) {
|
|
ttype = 4; /* Unicode fallback */
|
|
+ } else if (strstr(term, "rxvt-256color")) {
|
|
+ ttype = 1; /* xterm-256color compatible */
|
|
} else if (strstr(term, "rxvt")) {
|
|
ttype = 3; /* Accepts LINUX mode */
|
|
} else if (strstr(term, "vt100") && terminal_width == 40) {
|