mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Flush draw buf at end of each parse call
This commit is contained in:
@@ -52,7 +52,8 @@ class TestParser(BaseTest):
|
||||
q = []
|
||||
for args in cd:
|
||||
if args[0] == 'draw':
|
||||
current += args[1]
|
||||
if args[1] is not None:
|
||||
current += args[1]
|
||||
else:
|
||||
if current:
|
||||
q.append(('draw', current))
|
||||
|
||||
Reference in New Issue
Block a user