diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-09-21 00:52:03 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-09-21 00:52:03 +0200 |
commit | 700b11e42d8045e8f4ef53588aab8e44dd9ac010 (patch) | |
tree | e913e8d5cd50701d6c95f4db6a11bb477744dbb3 /src/common.py | |
parent | 46705e18611cf49e5c0b45ce51ced221b0162167 (diff) | |
download | poezio-700b11e42d8045e8f4ef53588aab8e44dd9ac010.tar.gz poezio-700b11e42d8045e8f4ef53588aab8e44dd9ac010.tar.bz2 poezio-700b11e42d8045e8f4ef53588aab8e44dd9ac010.tar.xz poezio-700b11e42d8045e8f4ef53588aab8e44dd9ac010.zip |
Handles 256 colors, easier theming and more flexible way to define colors
Doesn’t run yet if term doesn’t support 256 colors, I know
(thus the branch "256")
Diffstat (limited to 'src/common.py')
-rw-r--r-- | src/common.py | 5 |
1 files changed, 0 insertions, 5 deletions
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') |