Summary: | allow emerge to update title on st terminal | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Amadeusz Sławiński <amade> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Amadeusz Sławiński
2014-01-12 15:45:30 UTC
It looks like it simply needs to add them to line 235 in pym/portage/output.py. Can you please confirm that it works properly for you. diff --git a/pym/portage/output.py b/pym/portage/output.py index fc1b042..927749a 100644 @@ -232,7 +232,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|st|st-meta|st-256color|st-meta-256color)') _disable_xtermTitle = None _max_xtermTitle_len = 253 Yes it works and seeing that it is a regexp match adding 'st' seems to be enough |