mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
added test for other cursor style
This commit is contained in:
@ -393,6 +393,10 @@ test Contents {
|
|||||||
// And remove it.
|
// And remove it.
|
||||||
c.setCursor(null, null);
|
c.setCursor(null, null);
|
||||||
try testing.expectEqual(0, c.fg_rows.lists[0].items.len);
|
try testing.expectEqual(0, c.fg_rows.lists[0].items.len);
|
||||||
|
|
||||||
|
// Add a hollow cursor.
|
||||||
|
c.setCursor(cursor_cell, .block_hollow);
|
||||||
|
try testing.expectEqual(cursor_cell, c.fg_rows.lists[rows + 1].items[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
test "Contents clear retains other content" {
|
test "Contents clear retains other content" {
|
||||||
|
Reference in New Issue
Block a user