mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
test(terminal/osc): fix command longer than buffer test
Ensure that the state is invalidated properly, this previously wasn't the case but was fixed in 03fd9a97
This commit is contained in:
@ -1660,10 +1660,11 @@ test "OSC: longer than buffer" {
|
||||
|
||||
var p: Parser = .{};
|
||||
|
||||
const input = "a" ** (Parser.MAX_BUF + 2);
|
||||
const input = "0;" ++ "a" ** (Parser.MAX_BUF + 2);
|
||||
for (input) |ch| p.next(ch);
|
||||
|
||||
try testing.expect(p.end(null) == null);
|
||||
try testing.expect(p.complete == false);
|
||||
}
|
||||
|
||||
test "OSC: report default foreground color" {
|
||||
|
Reference in New Issue
Block a user