summaryrefslogtreecommitdiff
path: root/taro/ui.c
diff options
context:
space:
mode:
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;