From 4314ea86b3dc2fc011f215184a476a6a1f1798a8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 8 May 2022 20:13:53 -0700 Subject: [PATCH] code tweak to avoid crash --- src/terminal/Terminal.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index 08805eb55..d3bc2560b 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -220,9 +220,6 @@ pub fn bell(self: *Terminal) void { // greater than the bottom-most row it is adjusted to the bottom-most // row. pub fn setCursorPosition(self: *Terminal, row: usize, col: usize) !void { - const tracy = trace(@src()); - defer tracy.end(); - self.cursor.x = @minimum(self.cols, col) -| 1; self.cursor.y = @minimum(self.rows, row) -| 1; }