From 46d160cfdd5d6bd26a884d4a2fee642ad4876349 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 10 May 2022 19:34:14 -0700 Subject: [PATCH] terminal doesn't need parser anymore --- src/terminal/Terminal.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/terminal/Terminal.zig b/src/terminal/Terminal.zig index ca077897f..4fde7762b 100644 --- a/src/terminal/Terminal.zig +++ b/src/terminal/Terminal.zig @@ -10,7 +10,6 @@ const testing = std.testing; const Allocator = std.mem.Allocator; const ansi = @import("ansi.zig"); const csi = @import("csi.zig"); -const Parser = @import("Parser.zig"); const Tabstops = @import("Tabstops.zig"); const trace = @import("../tracy/tracy.zig").trace; @@ -29,9 +28,6 @@ tabstops: Tabstops, rows: usize, cols: usize, -/// VT stream parser -parser: Parser, - /// Screen represents a presentable terminal screen made up of lines and cells. const Screen = std.ArrayListUnmanaged(Line); const Line = std.ArrayListUnmanaged(Cell); @@ -68,7 +64,6 @@ pub fn init(alloc: Allocator, cols: usize, rows: usize) !Terminal { .screen = .{}, .cursor = .{ .x = 0, .y = 0 }, .tabstops = try Tabstops.init(alloc, cols, 8), - .parser = Parser.init(), }; }