Sodium reads input from mouse instead of keyboard.
Created by: pi-pi3
Reproduction: Type the following in vt.
sudo pkg install sodium
/ui/bin/sodium
Then try to type anything in sodium and try moving the mouse around.
Expected behavior: Sodium works and reads input from keyboard.
Actual behavior: Sodium seems to be reading input from the mouse. It doesn't react to keyboard input whatsoever, but when I move my mouse, it says stuff like unknown command <some weird unicode character>
(picture bellow). The character that is actually shown switches when I move my mouse and from what I can tell it reads it from absolute mouse position, not the relative mouse movement.
Build information:
rustc -V: rustc 1.18.0-nightly (28a742997 2017-04-13)
git rev-parse HEAD: 69bc31f7addb64378aea1302523609017503b7b1
qemu-system-x86_64 --version: QEMU emulator version 2.8.0
uname -a: Linux Kerberos 4.8.12-3-ARCH #1 SMP PREEMPT Thu Dec 8 16:10:23 CET 2016 x86_64 GNU/Linux
Misc: Keyboard: AmazonBasics KU-0833 Mouse: Mad Catz R.A.T. 3
In the image below I "pressed" the i
key by finding some specific location with my mouse and therefore entered insert mode.