mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
terminal: remove old logs
This commit is contained in:
@ -1136,7 +1136,7 @@ pub fn clone(self: *Screen, alloc: Allocator, top: RowIndex, bottom: RowIndex) !
|
|||||||
assert(dst[1].len == 0);
|
assert(dst[1].len == 0);
|
||||||
|
|
||||||
// Perform the copy
|
// Perform the copy
|
||||||
std.log.warn("copy bytes={}", .{src[0].len + src[1].len});
|
// std.log.warn("copy bytes={}", .{src[0].len + src[1].len});
|
||||||
fastmem.copy(StorageCell, dst[0], src[0]);
|
fastmem.copy(StorageCell, dst[0], src[0]);
|
||||||
fastmem.copy(StorageCell, dst[0][src[0].len..], src[1]);
|
fastmem.copy(StorageCell, dst[0][src[0].len..], src[1]);
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ pub const Page = struct {
|
|||||||
// This is a memcpy. We may want to investigate if there are
|
// This is a memcpy. We may want to investigate if there are
|
||||||
// faster ways to do this (i.e. copy-on-write tricks) but I suspect
|
// faster ways to do this (i.e. copy-on-write tricks) but I suspect
|
||||||
// they'll be slower. I haven't experimented though.
|
// they'll be slower. I haven't experimented though.
|
||||||
std.log.warn("copy bytes={}", .{self.memory.len});
|
// std.log.warn("copy bytes={}", .{self.memory.len});
|
||||||
fastmem.copy(u8, result.memory, self.memory);
|
fastmem.copy(u8, result.memory, self.memory);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user