From 7791a9129cc4d550435b0fa6db646cbb56a6d384 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 May 2025 04:44:30 +0530 Subject: [PATCH] Fix replay of multicell_command --- kitty/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/client.py b/kitty/client.py index 246f658eb..228667c69 100644 --- a/kitty/client.py +++ b/kitty/client.py @@ -292,6 +292,8 @@ def multicell_command(payload: str) -> None: m += f'd={d}:' if (v := c.pop('vertical_align', None)) is not None and v > 0: m += f'v={v}:' + if (h := c.pop('horizontal_align', None)) is not None and h > 0: + m += f'h={h}:' if c: raise Exception('Unknown keys in multicell_command: ' + ', '.join(c)) write(f'{OSC}{TEXT_SIZE_CODE};{m.rstrip(":")};{text}\a')