From 4eaa117e9fffa15b73a11731c3016f59d5d9fa17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 12 Mar 2021 22:41:22 +0100 Subject: [PATCH] =?UTF-8?q?terminfo:=20=E2=80=98foot=E2=80=99=20has=20sext?= =?UTF-8?q?ant=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/terminfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/terminfo.c b/src/lib/terminfo.c index f225a6a9f..b3279d388 100644 --- a/src/lib/terminfo.c +++ b/src/lib/terminfo.c @@ -65,6 +65,8 @@ apply_term_heuristics(tinfo* ti, const char* termname){ ti->sextants = true; // alacritty https://github.com/alacritty/alacritty/issues/4409 */ }else if(strstr(termname, "vte") || strstr(termname, "gnome") || strstr(termname, "xfce")){ ti->sextants = true; // VTE has long enjoyed good sextant support + }else if(strncmp(termname, "foot", 4) == 0){ + ti->sextants = true; }else if(strcmp(termname, "linux") == 0){ ti->braille = false; // no braille, no sextants in linux console }