Adding support for emacs terminals

This commit is contained in:
Michael Lazar committed 2017-11-04 15:20:58 -04:00
1 parent cd4d9509ae
commit 29ea05f5bb
3 files changed
+9 -1

No files matched your search

+3 -1
View File
@@ -367,7 +367,9 @@ class Page(object):
else:
title = sub_name
if os.getenv('DISPLAY'):
# Setting the terminal title will break emacs or systems without
# X window.
if os.getenv('DISPLAY') and not os.getenv('INSIDE_EMACS'):
title += ' - rtv {0}'.format(__version__)
title = self.term.clean(title)
if six.PY3: