mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
terminal: add todo for CUB for left/right margins
This commit is contained in:
@ -1380,7 +1380,9 @@ pub fn cursorLeft(self: *Terminal, count_req: usize) void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The leftmost column we can move left to.
|
// The margins we can move to.
|
||||||
|
// TODO: if cursor is left of the left margin, assume left margin to be 0.
|
||||||
|
// verified with xterm. don't forget when left margins are implemented!
|
||||||
const left_margin = 0;
|
const left_margin = 0;
|
||||||
const right_margin = self.cols - 1;
|
const right_margin = self.cols - 1;
|
||||||
const top = self.scrolling_region.top;
|
const top = self.scrolling_region.top;
|
||||||
|
Reference in New Issue
Block a user