Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: In WSL space is inserted after shift or control when running kanata in host #1063

Open
1 task done
dev-ardi opened this issue May 23, 2024 · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@dev-ardi
Copy link

dev-ardi commented May 23, 2024

Requirements

Describe the bug

Kanata works well in windows but when I open wsl it inserts a space after shift or when holding caps lock (sending control)

Relevant kanata config

(defcfg process-unmapped-keys yes)
(defsrc)

(defalias
oneshot_shift (one-shot-press 500 lsft)
oneshot_alt (one-shot-press 500 lalt) 
taphold_esc_lctl (tap-hold-press 150 500 esc lctl)
oneshot_meta (one-shot-press 500 lmet)
)

(deflayermap (base-layer)
lsft : @oneshot_shift
rsft : @oneshot_shift
lalt : @oneshot_alt  
ralt : C-a 
caps : @taphold_esc_lctl 
lmet : @oneshot_meta
rmet : @oneshot_meta
esc  : @taphold_esc_lctl
lctl : XX
rctl : XX
)

Kanata version

kanata 1.6.0

Debug logs

No response

Operating system

Windows 10

Additional context

No response

@dev-ardi dev-ardi added the bug Something isn't working label May 23, 2024
@jtroo
Copy link
Owner

jtroo commented May 25, 2024

That's pretty unusual. Can you get the debug logs?

Also seems like you're using an older pre-release build with deprecated syntax. Is the behaviour any different with a more recent build?

@jtroo jtroo added the question Further information is requested label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants