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:
parent
e8c59b36d3
commit
ce9c5ea23d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue