#2369·oni

Can't insert ~ or ´ on Norwegian keyboard in any mode - they appear as dead keys

Author: martinhjCreated Jun 28, 2018Updated Nov 12, 2019
Labelsbug

Oni Version: 0.3.6 And also current master (with yarn run build-debug and yarn run start) (0.3.7)

Operating System: macOs 10.13.5 High Sierra

Issue: I`m not able to insert ~ or ´ in any mode in oni with ctrl+¨(~) or ctrl+´. If I want to insert tilde now I need to do a alt+¨ and then space, but that is not a sustainable solution to use tilde to change case. I see that this has been an issue before for other keyboard layouts.

In my keyboard layout the keys that does not work correspond with the keys that is orange in this screenshot (software keyboard in macos) which is the same keys where after pressing it and adding another letter will add a tilde or umlaut above that letter. image

Using Oni.log.enableDebugLoggind() I get: ´: [Key event] Code: Equal Key: Dead CtrlKey: true ShiftKey: false AltKey: false | Resolution: ~: [Key event] Code: BracketRight Key: Dead CtrlKey: true ShiftKey: false AltKey: false | Resolution:

I see that other's have been experiencing similar problems earlier in #542, #638 and #746.

Expected behavior: I'm able to insert these characters both in iTerm (and hence also vim in iTerm) and Safari so I expect it work in Oni as well. (Checked in vscode, and I was not able to insert an tilde there either with ctrl+¨).

Steps to reproduce: On macOs 10.13.5 with a norwegian keyboard layout in software press on ctrl+´ (or '=' on a english keyboard if you change the keyboard layout in preferences) or ctrl+¨ ('}' on a english keyboard)