mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
terminal doesn't need parser anymore
This commit is contained in:
@ -10,7 +10,6 @@ const testing = std.testing;
|
|||||||
const Allocator = std.mem.Allocator;
|
const Allocator = std.mem.Allocator;
|
||||||
const ansi = @import("ansi.zig");
|
const ansi = @import("ansi.zig");
|
||||||
const csi = @import("csi.zig");
|
const csi = @import("csi.zig");
|
||||||
const Parser = @import("Parser.zig");
|
|
||||||
const Tabstops = @import("Tabstops.zig");
|
const Tabstops = @import("Tabstops.zig");
|
||||||
const trace = @import("../tracy/tracy.zig").trace;
|
const trace = @import("../tracy/tracy.zig").trace;
|
||||||
|
|
||||||
@ -29,9 +28,6 @@ tabstops: Tabstops,
|
|||||||
rows: usize,
|
rows: usize,
|
||||||
cols: usize,
|
cols: usize,
|
||||||
|
|
||||||
/// VT stream parser
|
|
||||||
parser: Parser,
|
|
||||||
|
|
||||||
/// Screen represents a presentable terminal screen made up of lines and cells.
|
/// Screen represents a presentable terminal screen made up of lines and cells.
|
||||||
const Screen = std.ArrayListUnmanaged(Line);
|
const Screen = std.ArrayListUnmanaged(Line);
|
||||||
const Line = std.ArrayListUnmanaged(Cell);
|
const Line = std.ArrayListUnmanaged(Cell);
|
||||||
@ -68,7 +64,6 @@ pub fn init(alloc: Allocator, cols: usize, rows: usize) !Terminal {
|
|||||||
.screen = .{},
|
.screen = .{},
|
||||||
.cursor = .{ .x = 0, .y = 0 },
|
.cursor = .{ .x = 0, .y = 0 },
|
||||||
.tabstops = try Tabstops.init(alloc, cols, 8),
|
.tabstops = try Tabstops.init(alloc, cols, 8),
|
||||||
.parser = Parser.init(),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user