Skip to content

Instantly share code, notes, and snippets.

@SakuraKoi
Created September 24, 2021 14:33
Show Gist options
  • Save SakuraKoi/9b965e8c48f65a5f08ce3bc93a9dc98b to your computer and use it in GitHub Desktop.
Save SakuraKoi/9b965e8c48f65a5f08ce3bc93a9dc98b to your computer and use it in GitHub Desktop.
Minecraft中Rime无法输入中文的缓解方案
把lwjgl的输出重定向到AWTGLCanvas
AWTGLCanvas canvas = new AWTGLCanvas();
Display.setParent(canvas);
然后套个JFrame在外面
大部分情况下这时候输入法就正常了
偶发仍然禁用
ImmAssociateContextEx(gameWindow, NULL, IACE_DEFAULT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment