commit:     bc9cbe9c22531df871abb1991819fdf46736ac93
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 00:59:34 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue May 31 01:04:47 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=bc9cbe9c

xtermTitle: support tmux (bug 584530)

Tmux recently gained its own (optional) terminfo entry,
tmux/tmux-256color. Make Portage recognize that as a term
it can set titles on.

X-Gentoo-bug: 584530
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=584530
Acked-by: Zac Medico <zmedico <AT> gentoo.org>

 pym/portage/output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/output.py b/pym/portage/output.py
index bb7542b..6d8c632 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -234,7 +234,7 @@ def nc_len(mystr):
        tmp = re.sub(esc_seq + "^m]+m", "", mystr);
        return len(tmp)
 
-_legal_terms_re = 
re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix)')
+_legal_terms_re = 
re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux)')
 _disable_xtermTitle = None
 _max_xtermTitle_len = 253
 

Reply via email to