Add visible terminal control debug helpers
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user