summaryrefslogtreecommitdiff
path: root/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-30 11:19:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-30 11:19:18 +0100
commit62f67115b5c46134c34f88f4b1cbdacc19384c0a (patch)
tree0a76b14de203a4c23040e5665e39df8de9867745 /www-client/firefox/files/firefox-60.0-blessings-TERM.patch
parent265dbe5dbc14c199299496c6db8fce3f76647015 (diff)
gentoo resync : 30.09.2018
Diffstat (limited to 'www-client/firefox/files/firefox-60.0-blessings-TERM.patch')
-rw-r--r--www-client/firefox/files/firefox-60.0-blessings-TERM.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
index 3d024a47b99a..975e0cf6fe7b 100644
--- a/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
+++ b/www-client/firefox/files/firefox-60.0-blessings-TERM.patch
@@ -54,3 +54,17 @@ index 3872b5f..fdceb09 100644
# There was an error setting up the terminal, either curses is
# not supported or TERM is incorrectly set. Fall back to dumb.
self._does_styling = False
+
+
+--- a/python/mach/mach/logging.py
++++ b/python/mach/mach/logging.py
+@@ -93,7 +93,7 @@
+
+ def set_terminal(self, terminal):
+ self.terminal = terminal
+- self._sgr0 = blessings.tigetstr('sgr0') or '' if terminal and blessings else ''
++ self._sgr0 = terminal.normal if terminal and blessings else ''
+
+ def format(self, record):
+ f = record.msg.format(**record.params)
+