commit:     ffc70b10ddab2d9b74b60cf9036af0185ff17066
Author:     Kirill Chibisov <contact <AT> kchibisov <DOT> com>
AuthorDate: Mon Jun  8 17:07:12 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jun  9 00:57:58 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ffc70b10

xtermTitle: support alacritty

alacritty terminfo is included in ncurses-6.2 and so it is
picked up by default on most systems using alacritty terminal emulator,
which causes an issue of portage not updating window title.

Closes: https://github.com/gentoo/portage/pull/555
Signed-off-by: Kirill Chibisov <contact <AT> kchibisov.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

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

diff --git a/lib/portage/output.py b/lib/portage/output.py
index 1070d0ef3..cf799f362 100644
--- a/lib/portage/output.py
+++ b/lib/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|tmux|st-256color)')
+_legal_terms_re = 
re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty)')
 _disable_xtermTitle = None
 _max_xtermTitle_len = 253
 

Reply via email to