From 700b11e42d8045e8f4ef53588aab8e44dd9ac010 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 21 Sep 2011 00:52:03 +0200 Subject: =?UTF-8?q?Handles=20256=20colors,=20easier=20theming=20and=20more?= =?UTF-8?q?=20flexible=20way=20to=20define=20colors=20Doesn=E2=80=99t=20ru?= =?UTF-8?q?n=20yet=20if=20term=20doesn=E2=80=99t=20support=20256=20colors,?= =?UTF-8?q?=20I=20know=20(thus=20the=20branch=20"256")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/common.py') diff --git a/src/common.py b/src/common.py index db750b30..11a09b93 100644 --- a/src/common.py +++ b/src/common.py @@ -186,11 +186,6 @@ def shell_split(st): except ValueError: return st.split(" ") -def curses_color_pair(color): - if color < 0: - return curses.color_pair(-color) | curses.A_BOLD - return curses.color_pair(color) - def replace_key_with_bound(key): if config.has_option('bindings', key): return config.get(key, key, 'bindings') -- cgit v1.2.3