aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-curses.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-curses.cpp')
-rw-r--r--src/interface-curses.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interface-curses.cpp b/src/interface-curses.cpp
index b4d83ec..5180d48 100644
--- a/src/interface-curses.cpp
+++ b/src/interface-curses.cpp
@@ -80,9 +80,12 @@
#endif
#ifdef NCURSES_VERSION
-#ifdef G_OS_UNIX
+#if defined(G_OS_UNIX) || defined(G_OS_HAIKU)
/**
- * Whether we're on ncurses/UNIX
+ * Whether we're on ncurses/UNIX.
+ * Haiku has a UNIX-like terminal and is largely
+ * POSIX compliant, so we can handle it like a
+ * UNIX ncurses.
*/
#define NCURSES_UNIX
#elif defined(G_OS_WIN32)