summaryrefslogtreecommitdiff
path: root/taro/ui.c
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-05-19 12:35:53 -0400
committerAndrew Opalach <andrew@akon.city> 2026-05-19 12:35:53 -0400
commit1971938a653ad11ee2775459dc7999ced3451d31 (patch)
tree91fcb209c16980abed86e1856bbe0e6ab6b0b0b1 /taro/ui.c
parent596a2a0f86800ce2bdee55f1fffdede7d64d64c0 (diff)
downloadmauri-1971938a653ad11ee2775459dc7999ced3451d31.tar.gz
mauri-1971938a653ad11ee2775459dc7999ced3451d31.tar.bz2
mauri-1971938a653ad11ee2775459dc7999ced3451d31.zip
Update deps
Diffstat (limited to 'taro/ui.c')
-rw-r--r--taro/ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/taro/ui.c b/taro/ui.c
index 6d191d7..1860920 100644
--- a/taro/ui.c
+++ b/taro/ui.c
@@ -1324,7 +1324,8 @@ s32 main(void)
db_sort(&u.db);
const char *term_env = getenv("TERM");
- if (strcmp(term_env, "xterm-kitty") == 0) {
+ if ((strncmp(term_env, "xterm-kitty", sizeof("xterm-kitty")) == 0) ||
+ (strncmp(term_env, "foot", sizeof("foot")) == 0)) {
u.use_pixel_blit = true;
} else {
u.use_pixel_blit = false;