diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index 467c67fd6..9f45aebdc 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -1478,7 +1478,7 @@ pub fn cursorLeft(self: *Terminal, count_req: usize) void { // appropriately sized value of "count" this is the behavior that xterm // would have. This is unit tested. if (self.screen.cursor.y == 0) { - assert(self.screen.cursor.x == 0); + assert(self.screen.cursor.x == left_margin); break; }