diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index d42fb1d29..97657ae92 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -455,7 +455,12 @@ pub fn print(self: *Terminal, c: u21) !void { // extremely fast and we take this much slower path for graphemes. No hate // on graphemes, I'd love to make them much faster, but I wanted to focus // on correctness first. - if (c > 255 and self.screen.cursor.x > 0) { + // + // NOTE: This is disabled because no shells handle this correctly. We'll + // need to work with shells and other emulators to probably figure out + // a way to support this. In the mean time, I'm going to keep all the + // grapheme detection and keep it up to date so we're ready to go. + if (false and c > 255 and self.screen.cursor.x > 0) { // TODO: test this! const row = self.screen.getRow(.{ .active = self.screen.cursor.y }); diff --git a/src/terminal/stream.zig b/src/terminal/stream.zig index e554c59fe..e1904a70e 100644 --- a/src/terminal/stream.zig +++ b/src/terminal/stream.zig @@ -51,9 +51,7 @@ pub fn Stream(comptime Handler: type) type { const actions = self.parser.next(c); for (actions) |action_opt| { // if (action_opt) |action| { - // if (action != .print) { - // log.info("action: {}", .{action}); - // } + // log.info("action: {}", .{action}); // } switch (action_opt orelse continue) { .print => |p| if (@hasDecl(T, "print")) try self.handler.print(p),