diff --git a/_modules/qubes_dom0_update.py b/_modules/qubes_dom0_update.py index ab4e394..fbe5473 100644 --- a/_modules/qubes_dom0_update.py +++ b/_modules/qubes_dom0_update.py @@ -189,6 +189,10 @@ def _sanitize_output(output): # drop coloring sequences added by qubes-dom0-update (if any) if output.startswith("\033[0;"): output = output[7:] + if output.startswith("\033[1m"): + output = output[4:] + if output.startswith("\033[34m"): + output = output[5:] if output.endswith("\033[0m"): output = output[:-4] output = output[:3000] # arbitrary limit