diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-07 23:59:35 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-07 23:59:35 +0000 |
commit | f1226c1bc9284af783bebe9bba41f54e4d59a7a9 (patch) | |
tree | 74c5778ada14bd9278ebdbc5656155cc2ad3bc6d /src/poezio.py | |
parent | f8ab739a36f7599f4f84590694c02ff3e0f2dd71 (diff) | |
download | poezio-f1226c1bc9284af783bebe9bba41f54e4d59a7a9.tar.gz poezio-f1226c1bc9284af783bebe9bba41f54e4d59a7a9.tar.bz2 poezio-f1226c1bc9284af783bebe9bba41f54e4d59a7a9.tar.xz poezio-f1226c1bc9284af783bebe9bba41f54e4d59a7a9.zip |
fix colors in tmux or screen, fix the themes_dir config option
Diffstat (limited to 'src/poezio.py')
-rw-r--r-- | src/poezio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/poezio.py b/src/poezio.py index 542c9196..237f2571 100644 --- a/src/poezio.py +++ b/src/poezio.py @@ -86,5 +86,6 @@ def main(): gui.main_loop() # Refresh the screen, wait for user events etc if __name__ == '__main__': - os.environ['TERM'] = 'xterm-256color' # FIXME + if os.environ['TERM'] != 'screen': + os.environ['TERM'] = 'xterm-256color' # FIXME main() |