commit:     02582b22f05e5506e50907dba4f9ffbc128121f7
Author:     Stanislav Ochotnický <sochotnicky <AT> redhat <DOT> com>
AuthorDate: Fri Sep 24 08:00:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 11:13:41 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=02582b22

xtermTitle: support foot terminal

Foot supports title updates so let's dynamically update the title when using it.
Closes: https://github.com/gentoo/portage/pull/753

Signed-off-by: Sam James <sam <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 77375b012..33c477012 100644
--- a/lib/portage/output.py
+++ b/lib/portage/output.py
@@ -270,7 +270,7 @@ def nc_len(mystr):
 
 
 _legal_terms_re = re.compile(
-    
r"^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty|konsole)"
+    
r"^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty|konsole|foot)"
 )
 _disable_xtermTitle = None
 _max_xtermTitle_len = 253

Reply via email to