summaryrefslogtreecommitdiff
path: root/taro
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
parent596a2a0f86800ce2bdee55f1fffdede7d64d64c0 (diff)
downloadmauri-1971938a653ad11ee2775459dc7999ced3451d31.tar.gz
mauri-1971938a653ad11ee2775459dc7999ced3451d31.tar.bz2
mauri-1971938a653ad11ee2775459dc7999ced3451d31.zip
Update deps
Diffstat (limited to 'taro')
-rw-r--r--taro/daemon.c1
-rw-r--r--taro/ui.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/taro/daemon.c b/taro/daemon.c
index d701ae6..b6faf3f 100644
--- a/taro/daemon.c
+++ b/taro/daemon.c
@@ -6,6 +6,7 @@
#include <nnwt/event_loop.h>
#include <nnwt/signal.h>
#include <nnwt/fs_event.h>
+#include <nnwt/error.h>
#include <nnwt/socket.h>
#include <stl/window.h>
#include <jansson.h>
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;