提交 73f84423 编写于 作者: A Amador Pahim

Include Fedora 24 screen terminal

Fedora 24 using screen has TERM=screen.xterm-256color. This patch adds
that terminal option in the list of valid options to be colorized.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 ac98eb9d
......@@ -83,7 +83,7 @@ class TermSupport(object):
self.LOWLIGHT = self.COLOR_DARKGREY
self.enabled = True
allowed_terms = ['linux', 'xterm', 'xterm-256color', 'vt100', 'screen',
'screen-256color']
'screen-256color', 'screen.xterm-256color']
term = os.environ.get("TERM")
colored = settings.get_value('runner.output', 'colored',
key_type='bool')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册