mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
fix(terminal): correctly use slow path for left/right scroll margin
This commit is contained in:
@ -1085,7 +1085,7 @@ pub fn index(self: *Terminal) !void {
|
|||||||
try self.screen.cursorDownScroll();
|
try self.screen.cursorDownScroll();
|
||||||
} else {
|
} else {
|
||||||
// Slow path for left and right scrolling region margins.
|
// Slow path for left and right scrolling region margins.
|
||||||
if (self.scrolling_region.left != 0 and
|
if (self.scrolling_region.left != 0 or
|
||||||
self.scrolling_region.right != self.cols - 1)
|
self.scrolling_region.right != self.cols - 1)
|
||||||
{
|
{
|
||||||
self.scrollUp(1);
|
self.scrollUp(1);
|
||||||
|
Reference in New Issue
Block a user