fix(vaxis): correct key range in synthesized_p

This was causing left and right arrow keys to input garbage into
mini mode editors.
This commit is contained in:
CJ van den Berg 2024-06-20 22:20:07 +02:00
parent e8c59b36d3
commit ce9c5ea23d

View file

@ -111,7 +111,7 @@ pub const key = struct {
/// Is this uint32_t a synthesized event?
pub fn synthesized_p(w: u32) bool {
return switch (w) {
Key.up...Key.iso_level_5_shift => true,
Key.insert...Key.iso_level_5_shift => true,
Key.enter => true,
Key.tab => true,
Key.escape => true,