Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/
Date: Wed, 09 Feb 2022 11:13:51
Message-Id: 1644405221.02582b22f05e5506e50907dba4f9ffbc128121f7.sam@gentoo
1 commit: 02582b22f05e5506e50907dba4f9ffbc128121f7
2 Author: Stanislav Ochotnický <sochotnicky <AT> redhat <DOT> com>
3 AuthorDate: Fri Sep 24 08:00:00 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 9 11:13:41 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=02582b22
7
8 xtermTitle: support foot terminal
9
10 Foot supports title updates so let's dynamically update the title when using it.
11 Closes: https://github.com/gentoo/portage/pull/753
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 lib/portage/output.py | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/lib/portage/output.py b/lib/portage/output.py
19 index 77375b012..33c477012 100644
20 --- a/lib/portage/output.py
21 +++ b/lib/portage/output.py
22 @@ -270,7 +270,7 @@ def nc_len(mystr):
23
24
25 _legal_terms_re = re.compile(
26 - r"^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty|konsole)"
27 + r"^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty|konsole|foot)"
28 )
29 _disable_xtermTitle = None
30 _max_xtermTitle_len = 253