Add IME input support for mpv chat via mp.input API#757
Open
hex110 wants to merge 1 commit intoSyncplay:masterfrom
Open
Add IME input support for mpv chat via mp.input API#757hex110 wants to merge 1 commit intoSyncplay:masterfrom
hex110 wants to merge 1 commit intoSyncplay:masterfrom
Conversation
Use mpv's native mp.input.get() text input (available in mpv 0.39+) which properly supports IME composition for Chinese, Japanese, Korean and other input methods. Falls back to existing key-binding system for older mpv. Also enables --input-ime=yes in mpv launch args (mpv defaults to no on Windows) so IME is active when text input is opened. Closes Syncplay#732 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mp.input.get()text input API (mpv 0.39+) for chat, which properly supports IME composition for Chinese, Japanese, Korean and other input methods--input-ime=yesin mpv launch args (mpv defaults tonoon Windows)Closes #732