Skip to content

Add IME input support for mpv chat via mp.input API#757

Open
hex110 wants to merge 1 commit intoSyncplay:masterfrom
hex110:fix/mpv-ime-input
Open

Add IME input support for mpv chat via mp.input API#757
hex110 wants to merge 1 commit intoSyncplay:masterfrom
hex110:fix/mpv-ime-input

Conversation

@hex110
Copy link

@hex110 hex110 commented Feb 16, 2026

Summary

  • Uses mpv's native mp.input.get() text input API (mpv 0.39+) for chat, which properly supports IME composition for Chinese, Japanese, Korean and other input methods
  • Falls back to existing key-binding system for older mpv versions — no behavior change for users on mpv < 0.39
  • Enables --input-ime=yes in mpv launch args (mpv defaults to no on Windows)

Closes #732

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>
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.

Add Chinese input support for mpv chat

1 participant