Add visible terminal control debug helpers

This commit is contained in:
slhx agent
2026-06-21 16:41:15 +02:00
parent f88f688726
commit 8c4d09f709
2 changed files with 41 additions and 0 deletions
+5
View File
@@ -17,6 +17,7 @@ const session = @import("session.zig");
const socket = @import("socket.zig");
const symbol = @import("symbol.zig");
const syntax = @import("syntax.zig");
const terminal_debug = @import("terminal_debug.zig");
const tui = @import("tui.zig");
pub const version = "0.1.0-dev";
@@ -600,6 +601,10 @@ test "regular: local editor client exposes save and dirty quit guards" {
try std.testing.expect(!client.requestedQuit());
}
test "terminal debug helpers are included in main test root" {
_ = terminal_debug;
}
test "regular: raw terminal output converts newline to carriage-return newline" {
const converted = try terminalCrlfAlloc(std.testing.allocator, "a\nb\n");
defer std.testing.allocator.free(converted);