diff options
author | Christoph Böhmwalder <christoph@boehmwalder.at> | 2017-12-03 16:23:55 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-12-04 00:36:47 -0800 |
commit | a45f1cad89eb96e11fd198565f2a6f8ce6922e38 (patch) | |
tree | 1a1d9e9ddd953ba2afbb3010df6823ed2319b02e | |
parent | profile_check: detect missing ARCH variable (bug 586214) (diff) | |
download | portage-a45f1cad89eb96e11fd198565f2a6f8ce6922e38.tar.gz portage-a45f1cad89eb96e11fd198565f2a6f8ce6922e38.tar.bz2 portage-a45f1cad89eb96e11fd198565f2a6f8ce6922e38.zip |
xtermTitle: support st (simple terminal)
Currently users of suckless' simple terminal have to rely on ugly hacks
like this in order to make portage display merging progress in the
terminals title bar:
alias emerge="TERM=xterm emerge"
Officially support st by adding it to the list of legal terminals.
Signed-off-by: Christoph Böhmwalder <christoph@boehmwalder.at>
-rw-r--r-- | pym/portage/output.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py index 6d8c6324a..1070d0ef3 100644 --- a/pym/portage/output.py +++ b/pym/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)') +_legal_terms_re = re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color)') _disable_xtermTitle = None _max_xtermTitle_len = 253 |