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

(macOS) respect alt key configs for ime #1096

Merged
merged 1 commit into from
Sep 2, 2021
Merged

(macOS) respect alt key configs for ime #1096

merged 1 commit into from
Sep 2, 2021

Conversation

n-p-e
Copy link
Contributor

@n-p-e n-p-e commented Sep 1, 2021

This should partially solve #615.

Currently, the config items send_composed_key_when_(left|right)_alt_is_pressed are ignored when use_ime is true.

e.g. In wezterm.lua:

return {
    use_ime = true,
    send_composed_key_when_left_alt_is_pressed = false,
    send_composed_key_when_right_alt_is_pressed = true,
}

Pressing LeftAlt + a used to produce å, but now it should send <M-a> to the shell. The behaviour of RightAlt is unchanged.

wez added a commit that referenced this pull request Sep 2, 2021
@wez wez merged commit df68147 into wez:main Sep 2, 2021
@wez
Copy link
Owner

wez commented Sep 2, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants