mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
terminal: assertion should check x is on left margin
This commit is contained in:
@ -1478,7 +1478,7 @@ pub fn cursorLeft(self: *Terminal, count_req: usize) void {
|
|||||||
// appropriately sized value of "count" this is the behavior that xterm
|
// appropriately sized value of "count" this is the behavior that xterm
|
||||||
// would have. This is unit tested.
|
// would have. This is unit tested.
|
||||||
if (self.screen.cursor.y == 0) {
|
if (self.screen.cursor.y == 0) {
|
||||||
assert(self.screen.cursor.x == 0);
|
assert(self.screen.cursor.x == left_margin);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user