From 65909df9f9cd8378478ab44ba2a5c653e6d5b81e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 11 Mar 2024 21:13:55 -0700 Subject: [PATCH] terminal: commented log line to see active style count --- src/terminal/Screen.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/terminal/Screen.zig b/src/terminal/Screen.zig index de7517307..3883a4270 100644 --- a/src/terminal/Screen.zig +++ b/src/terminal/Screen.zig @@ -949,6 +949,8 @@ pub fn setAttribute(self: *Screen, attr: sgr.Attribute) !void { pub fn manualStyleUpdate(self: *Screen) !void { var page = &self.cursor.page_pin.page.data; + // std.log.warn("active styles={}", .{page.styles.count(page.memory)}); + // Remove our previous style if is unused. if (self.cursor.style_ref) |ref| { if (ref.* == 0) {