Skip to content

Use bracketed paste only for multi-char IME input - #7092

Merged
kchibisov merged 2 commits into
alacritty:masterfrom
kchibisov:no-ime-baraketu-pasetu-single
Jul 20, 2023
Merged

kchibisov merged 2 commits into
alacritty:masterfrom
kchibisov:no-ime-baraketu-pasetu-single

Conversation

@kchibisov

Copy link
Copy Markdown
Member

Some IME setups do only commit single char input, like fcitx5 when doing ru input.

Some IME setups do only `commit` single char input, like fcitx5 when
doing ru input.
@kchibisov
kchibisov requested a review from chrisduerr July 18, 2023 16:05

@chrisduerr chrisduerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remind me what the motivation behind this was?

@kchibisov

Copy link
Copy Markdown
Member Author

@chrisduerr I think commit message has an example? I mainly want to have single char input go without bracketed paste, so it's less payload on editor for no reason.

However for large preedit lines, we want bracketed paste, so the highlighting logic and such won't run on a per char basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants