mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
Fix failure on older python
This commit is contained in:
@@ -54,7 +54,7 @@ def expandvars(val: str, env: Mapping[str, str] = {}, fallback_to_os_env: bool =
|
||||
|
||||
|
||||
@run_once
|
||||
def sgr_sanitizer_pat() -> re.Pattern[str]:
|
||||
def sgr_sanitizer_pat() -> 're.Pattern[str]':
|
||||
return re.compile('\033\\[.*?m')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user