From e903d5ed2289612f0c78c1416548f8db38bfb929 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 29 Feb 2024 09:31:22 -0800 Subject: [PATCH] terminal: remove old logs --- src/terminal/Screen.zig | 2 +- src/terminal/new/page.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal/Screen.zig b/src/terminal/Screen.zig index f9581b738..d069a7f67 100644 --- a/src/terminal/Screen.zig +++ b/src/terminal/Screen.zig @@ -1136,7 +1136,7 @@ pub fn clone(self: *Screen, alloc: Allocator, top: RowIndex, bottom: RowIndex) ! assert(dst[1].len == 0); // 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].len..], src[1]); diff --git a/src/terminal/new/page.zig b/src/terminal/new/page.zig index 24a31ed91..df443b4c3 100644 --- a/src/terminal/new/page.zig +++ b/src/terminal/new/page.zig @@ -200,7 +200,7 @@ pub const Page = struct { // 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 // 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); return result;