onivim/oni

Keyboard switching issue/Can't type quote

Open

#1.058 geöffnet am 2. Dez. 2017

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (11.389 Stars) (336 Forks)batch import
bughelp wantedi18ninsider

Beschreibung

I realise this is a weirdly specific error, but something in Oni isn't able to keep up with the Windows language swapping.

I swap back and forth between the British and US English keyboard layouts depending on what keyboard I have plugged in, and what I'm typing at the time. Oni can deal with both of these, if I open Oni with the required layout enabled, but if I swap whilst Oni is open I get some weird behaviour where the " key doesn't work and perhaps others, but I notice that one the most.

For example:

  • Open Oni in US Layout
  • Realise that I'm writing a report in Latex that deals with money, so I swap to the UK layout to get the £ symbol more easily.
  • Then " doesn't work anymore in the UK layout, but if I swap back to US it works fine.

Debug logs below:

In both cases the first prints a " to the window and the second does not, I assume because it is being picked up as <Shift - ">.

Obviously low priority, and I wasn't even sure if this was an issue of ours or the package we use.

Contributor Guide