summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-15 22:18:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-15 22:18:09 +0000
commita5d88f4db1faf6b7854cc864f77db25954225428 (patch)
tree88bb64e3e5cfcc25f40a1efafaeb97fa2bbc5f44 /src
parent0d7e4c1f54979c6e03f36e7dd0a16f4ac946d24f (diff)
downloadirssi-a5d88f4db1faf6b7854cc864f77db25954225428.zip
#undef some things term.h #defines that break irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1120 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-text/screen.h b/src/fe-text/screen.h
index bcbb824e..49ae79eb 100644
--- a/src/fe-text/screen.h
+++ b/src/fe-text/screen.h
@@ -7,6 +7,11 @@
# include <curses.h>
#endif
+/* Some curseses include term.h, which #defines some things breaking irssi */
+#undef lines
+#undef key_backspace
+#undef tab
+
#define ATTR_UNDERLINE 0x100
#define ATTR_COLOR8 0x200
#define ATTR_REVERSE 0x400