aboutsummaryrefslogtreecommitdiffstats
path: root/terms.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-12 17:04:20 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-12 17:04:20 +0000
commit776c1fa566c5fbf9ca7d64722bbce14664e78011 (patch)
tree7b9978b79d3c42b5a3a182d9d2d15569b03f98f8 /terms.h
parent[w3m-dev 02651] search keymap using hash (diff)
downloadw3m-776c1fa566c5fbf9ca7d64722bbce14664e78011.tar.gz
w3m-776c1fa566c5fbf9ca7d64722bbce14664e78011.zip
[w3m-dev 02541] mouse support on cygwin
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'terms.h')
-rw-r--r--terms.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/terms.h b/terms.h
index 19204b6..ca7bce7 100644
--- a/terms.h
+++ b/terms.h
@@ -1,4 +1,4 @@
-/* $Id: terms.h,v 1.4 2001/11/22 15:02:17 ukai Exp $ */
+/* $Id: terms.h,v 1.5 2001/12/12 17:04:21 ukai Exp $ */
#ifndef TERMS_H
#define TERMS_H
@@ -38,6 +38,12 @@ extern int LINES, COLS;
#define MOUSE_BTN_UP 3
#define MOUSE_BTN_RESET -1
#define MOUSE_SCROLL_LINE 5
+
+#ifdef __CYGWIN__
+extern int is_xterm;
+#endif
+#define NEED_XTERM_ON (1)
+#define NEED_XTERM_OFF (1<<1)
#endif
#endif /* not TERMS_H */