aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-ncurses.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-01-19 21:30:19 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-01-19 21:30:19 +0100
commitdd6c4b0cac7099c827c3cc1a60668ff38032942d (patch)
treea4cd3b4f82efabba09dd9072d6f3646cf355b95e /src/interface-ncurses.cpp
parent92a9b6ee32ccff64ed9ded76fba8ec02aaf88aff (diff)
downloadsciteco-dd6c4b0cac7099c827c3cc1a60668ff38032942d.tar.gz
support only Scinterm >= v1.1 (contains SCI_COLOR_PAIR macro and indirectly fixes PDCurses support)
Diffstat (limited to 'src/interface-ncurses.cpp')
-rw-r--r--src/interface-ncurses.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/interface-ncurses.cpp b/src/interface-ncurses.cpp
index 035a9a3..f376a1f 100644
--- a/src/interface-ncurses.cpp
+++ b/src/interface-ncurses.cpp
@@ -51,12 +51,6 @@ static void scintilla_notify(Scintilla *sci, int idFrom,
/* FIXME: should be configurable in TECO (Function key substitutes) */
#define ESCAPE_SURROGATE KEY_DC
-#ifndef SCI_COLOR_PAIR
-/* from ScintillaTerm.cxx */
-#define SCI_COLOR_PAIR(f, b) \
- ((b) * 8 + (f) + 1)
-#endif
-
#define SCI_COLOR_ATTR(f, b) \
COLOR_PAIR(SCI_COLOR_PAIR(f, b))