refactor: run zigimports

closes: #38
This commit is contained in:
CJ van den Berg 2024-09-10 22:24:44 +02:00
parent 8b1a764429
commit bf3fe5f2ba
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
44 changed files with 0 additions and 133 deletions

View file

@ -9,10 +9,8 @@ const tui = @import("../../tui.zig");
const mainview = @import("../../mainview.zig");
const command = @import("../../command.zig");
const EventHandler = @import("../../EventHandler.zig");
const ed = @import("../../editor.zig");
const Allocator = @import("std").mem.Allocator;
const json = @import("std").json;
const eql = @import("std").mem.eql;
const Self = @This();
@ -168,8 +166,6 @@ fn insert_bytes(self: *Self, bytes: []const u8) !void {
self.input = self.buf[0..newlen];
}
var find_cmd_id: ?command.ID = null;
fn flush_input(self: *Self) !void {
if (self.input.len > 2) {
if (eql(u8, self.input, self.last_input))