Commit 1df2c40
committed
fix: show input method on mouse release when terminal has focus
Explicitly call inputMethod()->show() after mouse release to ensure
the IME panel appears for text entry in the terminal widget.
在终端窗口拥有焦点时,鼠标释放后显式调用 inputMethod()->show(),
确保输入法面板能够正常弹出。
Log: 鼠标释放后显示输入法
Influence: 终端在获得焦点并点击鼠标后能正常唤起输入法,改善中文等输入法的使用体验。1 parent 72fbb6e commit 1df2c40
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
2593 | 2594 | | |
2594 | 2595 | | |
2595 | 2596 | | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
2596 | 2600 | | |
2597 | 2601 | | |
2598 | 2602 | | |
| |||
0 commit comments