You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helix does not receive Enhanced Keyboard support from Wezterm on windows while on WSL.
The Windows version (EXE) of Helix works on Wezterm when:
The Wezterm config allow_win32_input_mode is Enabled
Not running through WSL
Helix on Windows also works when running through Windows Terminal
Running the windows executable through WSL does not work, presumably because WSL discards win32 inputs before reaching Helix.
Neither the WSL or Native windows version of WSL is receiving Enhanced Kitty Keyboard Inputs.
Some questions:
How can I verify that the current shell, is capable of receiving extended keyboard input ?
How can I run Helix to verify that it's actually requesting the extended protocols ?
Notes:
I have also installed Helix with brew and it does not work either.
Reproduction Steps
Run Wezterm on Windows with the config options:
localwezterm=require("wezterm")
localconfig=wezterm.config_builder()
config.enable_kitty_keyboard=trueconfig.allow_win32_input_mode=falseconfig.enable_csi_u_key_encoding=false-- Making sure Wezterm does not intercept SHIFT+Backspaceconfig.keys= {
{
key='Backspace',
mods='SHIFT',
action=wezterm.action.DisableDefaultAssignment,
}
}
You can run Helix with hx -vv to enable debug logging. Then you should see a line like this if Helix can detect that the kitty keyboard protocol is available:
2024-09-23T18:04:16.024 helix_tui::backend::crossterm [DEBUG] The keyboard enhancement protocol is supported in this terminal (checked in 3.670335ms)
Summary
Helix does not receive Enhanced Keyboard support from Wezterm on windows while on WSL.
The Windows version (EXE) of Helix works on Wezterm when:
allow_win32_input_mode
is EnabledHelix on Windows also works when running through Windows Terminal
Running the windows executable through WSL does not work, presumably because WSL discards win32 inputs before reaching Helix.
Neither the WSL or Native windows version of WSL is receiving Enhanced Kitty Keyboard Inputs.
Some questions:
Notes:
brew
and it does not work either.Reproduction Steps
Run Wezterm on Windows with the config options:
Log into WSL (debian) and run Helix.
Helix Config:
The Keybind does not work.
Helix log
Log is empty
Platform
Windows 10 - Debian WSL
Terminal Emulator
Wezterm 20240203.110809.0
Installation Method
Releases Page
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: