terminal: commented log line to see active style count

This commit is contained in:
Mitchell Hashimoto
2024-03-11 21:13:55 -07:00
parent 3191081ea6
commit 65909df9f9

View File

@ -949,6 +949,8 @@ pub fn setAttribute(self: *Screen, attr: sgr.Attribute) !void {
pub fn manualStyleUpdate(self: *Screen) !void { pub fn manualStyleUpdate(self: *Screen) !void {
var page = &self.cursor.page_pin.page.data; 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. // Remove our previous style if is unused.
if (self.cursor.style_ref) |ref| { if (self.cursor.style_ref) |ref| {
if (ref.* == 0) { if (ref.* == 0) {