mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 07:44:24 +00:00
A couple of missed tests.
This commit is contained in:
@@ -31,6 +31,14 @@ with image_test(sys.argv[1]) as test:
|
||||
assert len(client.images()) == 1
|
||||
check_image(client.images()[0], 8, 16, [rgb] * (8 * 16))
|
||||
|
||||
# Undefined registers are black in the shared image model.
|
||||
test.emit(b'\033[2J\033[H\033P9;1q"1;1;8;16'
|
||||
b'#5!8~-!8~-!8N\033\\')
|
||||
assert len(client.images()) == 1
|
||||
check_image(client.images()[0], 8, 16, [(0, 0, 0)] * (8 * 16))
|
||||
test.redraw()
|
||||
check_image(client.images()[0], 8, 16, [(0, 0, 0)] * (8 * 16))
|
||||
|
||||
# Deliver the terminator in two pieces. No image is placed before it.
|
||||
test.emit(b'\033[2J\033[H')
|
||||
for byte in valid[:-1]:
|
||||
|
||||
Reference in New Issue
Block a user