hack: go to ground state in escape state

Only doing this until I finish the parser

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
Tim Culverhouse 2024-01-18 20:35:33 -06:00
parent 27548f7f9d
commit 3176eb81ef
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ pub fn main() !void {
}, },
else => {}, else => {},
} }
log.debug("event: {}", .{event}); log.debug("event: {}\r\n", .{event});
} }
} }

View file

@ -121,6 +121,7 @@ pub fn run(
app.postEvent(.{ .key_press = k }); app.postEvent(.{ .key_press = k });
} }
}, },
.escape => state = .ground,
else => {}, else => {},
} }
} }