mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 12:08:45 +02:00
icat: Add a command line argument for horizontal alignment
This commit is contained in:
@@ -227,7 +227,7 @@ def display_bitmap(rgb_data, width, height):
|
||||
with NamedTemporaryFile(suffix='.rgba', delete=False) as f:
|
||||
f.write(rgb_data)
|
||||
assert len(rgb_data) == 4 * width * height
|
||||
show(f.name, width, height, 32)
|
||||
show(f.name, width, height, 32, align='left')
|
||||
|
||||
|
||||
def test_render_string(text='Hello, world!', family='monospace', size=64.0, dpi=96.0):
|
||||
|
||||
Reference in New Issue
Block a user