Skip to content

WindowEvent missing virtual keycode on Linux #3460

@wild-endeavor

Description

@wild-endeavor

I have the following mapping in my config:

  - { key: Minus,      mods: Control|Shift, chars: "hi"    }

The "hi" text is meant to represent something else, but just using that as an easy placeholder. tmux is not running.

Just upgraded but the same thing happened in 0.4.1. On my Mac, when I hit Ctrl+Shift+-, it prints "hi" as expected. On my linux box (details below), nothing happens. A print-events log is attached. I basically just launched alacritty, hit Ctrl+Shift+- and then Alt+F4. It looks like the character that's received is \u{1f} for some reason.

Based on the log output, I then tried changing the config to use the word Subtract instead of Minus but still nothing happens.

I feel like this is just something I'm doing wrong, not a bug or anything, but I have no idea what it is.

Thank you!

System

OS: Linux - Ubuntu 19.10
Version: alacritty --version output
alacritty 0.4.2-rc1
Linux/BSD: X11/Wayland (default Gnome installation that comes with ubuntu)

Logs

Crashes: STDERR, STDOUT
Font/Terminal size: alacritty -vv
Keyboard and bindings: alacritty --print-events
output.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions