mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-12 04:41:03 +00:00
23 lines
398 B
Diff
23 lines
398 B
Diff
diff --git a/src/osdep/osdep.c b/src/osdep/osdep.c
|
|
index 4aabc61..758d99b 100644
|
|
--- a/src/osdep/osdep.c
|
|
+++ b/src/osdep/osdep.c
|
|
@@ -349,6 +349,7 @@ is_xterm(void)
|
|
return 1;
|
|
}
|
|
#endif
|
|
+#ifndef __TERMUX__
|
|
static int xt = -1;
|
|
|
|
if (xt == -1) {
|
|
@@ -370,6 +371,9 @@ is_xterm(void)
|
|
}
|
|
|
|
return xt;
|
|
+#else
|
|
+ return 1; /* Skip checking and always return true on Termux */
|
|
+#endif
|
|
}
|
|
|
|
#endif
|