From ec288d9111ec6f910358fc0c58d32e0933053786 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 20 Aug 2022 17:21:14 -0700 Subject: [PATCH] get rid of assertions because its possible they're false --- src/terminal/Terminal.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index dd9565505..6e25a9f81 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -408,7 +408,6 @@ fn printCell(self: *Terminal, c: u21) *Screen.Cell { assert(x < self.cols); const spacer_cell = self.screen.getCell(self.screen.cursor.y, x); - assert(spacer_cell.attrs.wide_spacer_tail == 1); spacer_cell.attrs.wide_spacer_tail = 0; if (self.screen.cursor.x <= 1) { @@ -419,7 +418,6 @@ fn printCell(self: *Terminal, c: u21) *Screen.Cell { const x = self.screen.cursor.x - 1; const wide_cell = self.screen.getCell(self.screen.cursor.y, x); - assert(wide_cell.attrs.wide == 1); wide_cell.attrs.wide = 0; if (self.screen.cursor.x <= 1) {