Cleanup previous PR and add changelog entry

This commit is contained in:
Kovid Goyal
2021-06-24 21:27:15 +05:30
parent 512dccdbfa
commit 13c58536be
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- query terminal kitten: Allow querying font face and size information
(:iss:`3756`)
- hyperlinked grep kitten: Fix context options not generating contextual output (:iss:`3759`)
0.21.1 [2021-06-14]
----------------------

View File

@@ -29,7 +29,7 @@ def main() -> None:
write: Callable[[bytes], None] = cast(Callable[[bytes], None], sys.stdout.buffer.write)
sgr_pat = re.compile(br'\x1b\[.*?m')
osc_pat = re.compile(b'\x1b\\].*?\x1b\\\\')
num_pat = re.compile(b'^(\\d+)[:\\-]')
num_pat = re.compile(br'^(\d+)[:-]')
in_result: bytes = b''
hostname = socket.gethostname().encode('utf-8')