From 7f1af89abbdd85605260755a617ba1e9f4212536 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 25 Mar 2024 20:11:21 -0700 Subject: [PATCH] terminal: turn unreachable into todo --- src/terminal/Terminal.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index ac2ed61e1..53a95da02 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -1336,7 +1336,7 @@ pub fn insertLines(self: *Terminal, count: usize) void { self.scrolling_region.right + 1, ) catch |err| { std.log.warn("TODO: insertLines handle clone error err={}", .{err}); - unreachable; + @panic("TODO"); }; // Row never is wrapped if we're full width. @@ -1473,7 +1473,7 @@ pub fn deleteLines(self: *Terminal, count_req: usize) void { self.scrolling_region.right + 1, ) catch |err| { std.log.warn("TODO: deleteLines handle clone error err={}", .{err}); - unreachable; + @panic("TODO"); }; // Row never is wrapped if we're full width.