terminal: disable noisy logs

This commit is contained in:
Mitchell Hashimoto
2023-09-03 14:02:55 -07:00
parent cdf81b610d
commit f8335c10d8

View File

@@ -53,10 +53,10 @@ pub fn Stream(comptime Handler: type) type {
// log.debug("char: {c}", .{c});
const actions = self.parser.next(c);
for (actions) |action_opt| {
if (action_opt) |action| {
if (action != .print and action == .osc_dispatch)
log.info("action: {}", .{action});
}
// if (action_opt) |action| {
// if (action != .print)
// log.info("action: {}", .{action});
// }
switch (action_opt orelse continue) {
.print => |p| if (@hasDecl(T, "print")) try self.handler.print(p),
.execute => |code| try self.execute(code),