mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
@ -2933,11 +2933,16 @@ pub fn performBindingAction(self: *Surface, action: input.Binding.Action) !bool
|
|||||||
&self.io.terminal.screen,
|
&self.io.terminal.screen,
|
||||||
);
|
);
|
||||||
|
|
||||||
try self.io.terminal.screen.dumpString(file.writer(), .{
|
// We only dump history if we have history. We still keep
|
||||||
.start = .{ .history = 0 },
|
// the file and write the empty file to the pty so that this
|
||||||
.end = .{ .history = history_max -| 1 },
|
// command always works on the primary screen.
|
||||||
.unwrap = true,
|
if (history_max > 0) {
|
||||||
});
|
try self.io.terminal.screen.dumpString(file.writer(), .{
|
||||||
|
.start = .{ .history = 0 },
|
||||||
|
.end = .{ .history = history_max -| 1 },
|
||||||
|
.unwrap = true,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the final path
|
// Get the final path
|
||||||
|
Reference in New Issue
Block a user