mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
Disable
This commit is contained in:
@ -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
|
// 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 graphemes, I'd love to make them much faster, but I wanted to focus
|
||||||
// on correctness first.
|
// 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!
|
// TODO: test this!
|
||||||
|
|
||||||
const row = self.screen.getRow(.{ .active = self.screen.cursor.y });
|
const row = self.screen.getRow(.{ .active = self.screen.cursor.y });
|
||||||
|
@ -51,9 +51,7 @@ pub fn Stream(comptime Handler: type) type {
|
|||||||
const actions = self.parser.next(c);
|
const actions = self.parser.next(c);
|
||||||
for (actions) |action_opt| {
|
for (actions) |action_opt| {
|
||||||
// if (action_opt) |action| {
|
// if (action_opt) |action| {
|
||||||
// if (action != .print) {
|
// log.info("action: {}", .{action});
|
||||||
// log.info("action: {}", .{action});
|
|
||||||
// }
|
|
||||||
// }
|
// }
|
||||||
switch (action_opt orelse continue) {
|
switch (action_opt orelse continue) {
|
||||||
.print => |p| if (@hasDecl(T, "print")) try self.handler.print(p),
|
.print => |p| if (@hasDecl(T, "print")) try self.handler.print(p),
|
||||||
|
Reference in New Issue
Block a user