mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 10:47:05 +02:00
Add a a=q mode for querying without storing image data
This commit is contained in:
@@ -124,6 +124,10 @@ class TestGraphics(BaseTest):
|
||||
def test_load_images(self):
|
||||
s, g, l, sl = load_helpers(self)
|
||||
|
||||
# Test load query
|
||||
self.ae(l('abcd', s=1, v=1, a='q'), 'OK')
|
||||
self.ae(g.image_count, 0)
|
||||
|
||||
# Test simple load
|
||||
for f in 32, 24:
|
||||
p = 'abc' + ('d' if f == 32 else '')
|
||||
|
||||
Reference in New Issue
Block a user