1 |
commit: bc9cbe9c22531df871abb1991819fdf46736ac93 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 00:59:34 2016 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 01:04:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=bc9cbe9c |
7 |
|
8 |
xtermTitle: support tmux (bug 584530) |
9 |
|
10 |
Tmux recently gained its own (optional) terminfo entry, |
11 |
tmux/tmux-256color. Make Portage recognize that as a term |
12 |
it can set titles on. |
13 |
|
14 |
X-Gentoo-bug: 584530 |
15 |
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=584530 |
16 |
Acked-by: Zac Medico <zmedico <AT> gentoo.org> |
17 |
|
18 |
pym/portage/output.py | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/pym/portage/output.py b/pym/portage/output.py |
22 |
index bb7542b..6d8c632 100644 |
23 |
--- a/pym/portage/output.py |
24 |
+++ b/pym/portage/output.py |
25 |
@@ -234,7 +234,7 @@ def nc_len(mystr): |
26 |
tmp = re.sub(esc_seq + "^m]+m", "", mystr); |
27 |
return len(tmp) |
28 |
|
29 |
-_legal_terms_re = re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix)') |
30 |
+_legal_terms_re = re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux)') |
31 |
_disable_xtermTitle = None |
32 |
_max_xtermTitle_len = 253 |