/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/lang/gcc10/gcc-10.3.0/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/lang/gcc11/gcc-11.2.0/gcc/ |
H A D | diagnostic-color.c | 283 const char *term, *colorterm; in auto_enable_urls() 295 colorterm = getenv ("COLORTERM"); in auto_enable_urls() 296 if (colorterm && !strcmp (colorterm, "xfce4-terminal")) in auto_enable_urls() 302 if (colorterm && !strcmp (colorterm, "gnome-terminal")) in auto_enable_urls() 314 if (!colorterm && term && !strcmp (term, "xterm")) in auto_enable_urls() 320 if (!colorterm && term && !strcmp (term, "linux")) in auto_enable_urls()
|
/dports/misc/mc/mc-4.8.27/lib/tty/ |
H A D | color-slang.c | 231 char *colorterm; in tty_use_truecolors() local 245 colorterm = getenv ("COLORTERM"); in tty_use_truecolors() 246 if (colorterm == NULL in tty_use_truecolors() 247 || (strcmp (colorterm, "truecolor") != 0 && strcmp (colorterm, "24bit") != 0)) in tty_use_truecolors()
|
/dports/misc/mc-nox11/mc-4.8.27/lib/tty/ |
H A D | color-slang.c | 231 char *colorterm; in tty_use_truecolors() local 245 colorterm = getenv ("COLORTERM"); in tty_use_truecolors() 246 if (colorterm == NULL in tty_use_truecolors() 247 || (strcmp (colorterm, "truecolor") != 0 && strcmp (colorterm, "24bit") != 0)) in tty_use_truecolors()
|
/dports/graphics/chafa/chafa-1.8.0/chafa/ |
H A D | chafa-term-db.c | 229 const gchar *colorterm; in detect_capabilities() local 244 colorterm = g_environ_getenv (envp, "COLORTERM"); in detect_capabilities() 245 if (!colorterm) colorterm = ""; in detect_capabilities() 265 if (!g_ascii_strcasecmp (colorterm, "truecolor") in detect_capabilities() 266 || !g_ascii_strcasecmp (colorterm, "gnome-terminal") in detect_capabilities() 267 || !g_ascii_strcasecmp (colorterm, "xfce-terminal")) in detect_capabilities()
|
/dports/graphics/jp2a/jp2a-1.1.1/src/ |
H A D | terminal.c | 108 char *colorterm = getenv("COLORTERM"); in supports_true_color() local 109 if ( colorterm==NULL ) { in supports_true_color() 113 if ( strcmp(colorterm, "rxvt")==0 ) { in supports_true_color()
|
H A D | options.c | 221 char *colorterm = getenv("COLORTERM"); in parse_options() local 222 if ( colorterm==NULL ) { in parse_options() 225 fprintf(stderr, "Environment variable COLORTERM: %s\n", colorterm); in parse_options()
|
/dports/misc/broot/broot-1.7.0/src/app/ |
H A D | app_context.rs | 139 if let Ok(colorterm) = std::env::var("COLORTERM") { in are_true_colors_available() 140 debug!("COLORTERM env variable = {:?}", colorterm); in are_true_colors_available() 141 if colorterm.contains("truecolor") || colorterm.contains("24bit") { in are_true_colors_available()
|
/dports/editors/dte/dte-cae7c45ea5a563c022001a54d1eee71c268f62b4/src/terminal/ |
H A D | terminal.c | 121 const char *colorterm = getenv("COLORTERM"); in term_init() local 122 if (colorterm && streq(colorterm, "truecolor")) { in term_init()
|
/dports/devel/gh/cli-2.4.0/pkg/iostreams/ |
H A D | color.go | 44 colorterm := os.Getenv("COLORTERM") 48 strings.Contains(colorterm, "24bit") || 49 strings.Contains(colorterm, "truecolor")
|
/dports/graphics/libcaca/libcaca-0.99.beta19/caca/driver/ |
H A D | slang.c | 549 char *term, *colorterm; in slang_install_terminal() local 554 colorterm = getenv("COLORTERM"); in slang_install_terminal() 561 if((colorterm && (!strcmp(colorterm, "gnome-terminal") in slang_install_terminal() 562 || !strcmp(colorterm, "Terminal"))) in slang_install_terminal()
|
H A D | ncurses.c | 602 char *term, *colorterm; in ncurses_install_terminal() local 607 colorterm = getenv("COLORTERM"); in ncurses_install_terminal() 614 if((colorterm && (!strcmp(colorterm, "gnome-terminal") in ncurses_install_terminal() 615 || !strcmp(colorterm, "Terminal"))) in ncurses_install_terminal()
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/ |
H A D | print_stream.c | 649 char *colorterm = getenv("COLORTERM"); in print_stream_text_alloc() local 650 if (colorterm != NULL && in print_stream_text_alloc() 651 (strcmp(colorterm, "truecolor") == 0 || strcmp(colorterm, "24bit") == 0)) in print_stream_text_alloc()
|
/dports/net/wireshark/wireshark-3.6.1/epan/ |
H A D | print_stream.c | 649 char *colorterm = getenv("COLORTERM"); in print_stream_text_alloc() local 650 if (colorterm != NULL && in print_stream_text_alloc() 651 (strcmp(colorterm, "truecolor") == 0 || strcmp(colorterm, "24bit") == 0)) in print_stream_text_alloc()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/ |
H A D | print_stream.c | 649 char *colorterm = getenv("COLORTERM"); in print_stream_text_alloc() local 650 if (colorterm != NULL && in print_stream_text_alloc() 651 (strcmp(colorterm, "truecolor") == 0 || strcmp(colorterm, "24bit") == 0)) in print_stream_text_alloc()
|
/dports/net/tshark/wireshark-3.6.1/epan/ |
H A D | print_stream.c | 649 char *colorterm = getenv("COLORTERM"); 650 if (colorterm != NULL && 651 (strcmp(colorterm, "truecolor") == 0 || strcmp(colorterm, "24bit") == 0))
|
/dports/sysutils/onefetch/onefetch-2.10.2/src/ |
H A D | cli.rs | 420 .map(|colorterm| colorterm == "truecolor" || colorterm == "24bit") in is_truecolor_terminal()
|
/dports/textproc/bat/bat-0.18.3/src/bin/bat/ |
H A D | app.rs | 30 .map(|colorterm| colorterm == "truecolor" || colorterm == "24bit") in is_truecolor_terminal()
|
/dports/editors/neovim/neovim-0.6.1/src/nvim/tui/ |
H A D | tui.c | 257 const char *colorterm = os_getenv("COLORTERM"); in terminfo_start() local 271 patch_terminfo_bugs(data, term, colorterm, vtev, konsolev, iterm_env, nsterm); in terminfo_start() 1566 static void patch_terminfo_bugs(TUIData *data, const char *term, const char *colorterm, in patch_terminfo_bugs() argument 1595 bool gnome_pretending_xterm = xterm && colorterm in patch_terminfo_bugs() 1596 && strstr(colorterm, "gnome-terminal"); in patch_terminfo_bugs() 1597 bool mate_pretending_xterm = xterm && colorterm in patch_terminfo_bugs() 1598 && strstr(colorterm, "mate-terminal"); in patch_terminfo_bugs() 1772 || (colorterm && strstr(colorterm, "256")) in patch_terminfo_bugs() 1781 if (colorterm) { in patch_terminfo_bugs() 1820 && (xterm_version || (vte_version > 0) || colorterm)))) { in patch_terminfo_bugs()
|
/dports/devel/git-delta/delta-0.9.2/src/options/ |
H A D | set.rs | 618 .map(|colorterm| colorterm == "truecolor" || colorterm == "24bit") in is_truecolor_terminal()
|