diff options
Diffstat (limited to 'www-client/firefox')
-rw-r--r-- | www-client/firefox/files/firefox-60.0-blessings-TERM.patch | 14 |
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) + |