mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
HPA does nothing when status display is active
This commit is contained in:
@ -525,6 +525,8 @@ pub fn setCursorColAbsolute(self: *Terminal, col_req: usize) void {
|
||||
|
||||
assert(self.modes.origin == 0); // TODO
|
||||
|
||||
if (self.status_display != .main) return; // TODO
|
||||
|
||||
const col = if (col_req == 0) 1 else col_req;
|
||||
self.screen.cursor.x = @minimum(self.cols, col) - 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user