mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2026-04-24 20:56:11 +02:00
formatting
This commit is contained in:
@@ -77,7 +77,7 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
|
||||
|
||||
|
||||
def _remove_ansi(string: str) -> str:
|
||||
ansi_escape =re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]')
|
||||
ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]')
|
||||
return ansi_escape.sub('', string)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user