mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
trace: Don't use italic escape code.
It's not widely supported, and often emulated with invert highlight, which is very distracting. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20934>
This commit is contained in:
parent
77092ca8f4
commit
3ab1a06a15
1 changed files with 1 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ class AnsiFormatter(Formatter):
|
|||
|
||||
_normal = '0m'
|
||||
_bold = '1m'
|
||||
_italic = '3m'
|
||||
_italic = '3m' # Not widely supported
|
||||
_red = '31m'
|
||||
_green = '32m'
|
||||
_blue = '34m'
|
||||
|
|
@ -79,9 +79,7 @@ class AnsiFormatter(Formatter):
|
|||
self._escape(self._normal)
|
||||
|
||||
def variable(self, name):
|
||||
self._escape(self._italic)
|
||||
Formatter.variable(self, name)
|
||||
self._escape(self._normal)
|
||||
|
||||
def literal(self, value):
|
||||
self._escape(self._blue)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue