summaryrefslogtreecommitdiff
path: root/src/poezio.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/poezio.py')
-rw-r--r--src/poezio.py3
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()