Skip to content

Possible key code translation bug in src/tty.zig #298

@vadim-nikitin

Description

@vadim-nikitin

Looked at src/tty.zig just for fun:), and found in function eventFromRecord(...) the following:

354: const base_layout: u16 = switch (event.wVirtualKeyCode) {
...
411: 0x76 => Key.f8,
412: 0x77 => Key.f8,
...
}

Probably at line 411 should be Key.f7.

Also didn't see an asterisk '*' in the symbol list starting at line 447.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions