Wezterm: Tilde character cannot be inserted with Spanish keyboard

Created on 22 Oct 2020  路  4Comments  路  Source: wez/wezterm

Describe the bug

In a Spanish (Spain variant, not LatAm) keyboard the tilde character is a dead key. But, unlike an accent, which requires a single key press, it is obtained by pressing Alt Gr + 4. Pressing SPACE afterwards should insert ~. Instead, nothing happens.

Environment (please complete the following information):

  • OS: Windows 10
  • Version: wezterm 20200909-002054-4c9af461-210-gb0fdd15d

To Reproduce

Just press the keys mentioned in the description.

Configuration

local wezterm = require 'wezterm';

return {
   font = wezterm.font_with_fallback({
    "Consolas",
    "DengXian"
   }),
   font_size = 16.0,
   hide_tab_bar_if_only_one_tab = true,
   default_prog = {"cmd.exe"},
   keys = {
      {key="F", mods="SHIFT|CTRL", action=wezterm.action{Search={CaseInSensitiveString=""}}},
      {key="l", mods="ALT", action="ShowLauncher"},
    },
}

Expected behavior

After pressing the above keys the tilde character ~ should be inserted, just like in any other application.

Screenshots

None

Session Recording

None

Additional context

None

bug

All 4 comments

Related #300, #275

There has been work done by @wez recently related to this issue, I'd recommend you to try the latest nightly version

FWIW, that is a recent enough nightly; I've confirmed that this is an issue with altgr + dead keys.

This is fixed in the nightly builds!

Perfect! Now I can go home :) Thank you @wez!

Was this page helpful?
0 / 5 - 0 ratings