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:
parent
27548f7f9d
commit
3176eb81ef
2 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ pub fn main() !void {
|
|||
},
|
||||
else => {},
|
||||
}
|
||||
log.debug("event: {}", .{event});
|
||||
log.debug("event: {}\r\n", .{event});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -121,6 +121,7 @@ pub fn run(
|
|||
app.postEvent(.{ .key_press = k });
|
||||
}
|
||||
},
|
||||
.escape => state = .ground,
|
||||
else => {},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue