Open alisapa opened 1 year ago
Sorry for replying late. In my environment (xmonad 0.17.1, fcitx 4.2.9.9 with anthy 9100h, mlterm 3.9.2), mlterm with --im xim or --im fcitx works fine. Will you tell me input method you use on fcitx ?
Works for me as well with --im xim or --im fcitx XMODIFIERS=@im=fcitx GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx QT_IM_SWITCHER=imsw-multi
xmonad 0.17.1 mlterm 3.9.2 fcitx 5.0.21 mozc 2.28.4715.102
I was able to reproduce this problem, and found the cause of it. This commit fixes it. https://github.com/arakiken/mlterm/commit/43579773849f542643655bbb36e18b13677ee6fc
Input works normally while Fcitx is inactive. But when I activate Fcitx using Ctrl+Space, MLterm starts treating the mouse as if button 1 was pressed, selecting text whenever I move the cursor.
This is the minimal
.xinitrc
that reproduces the issue for me (I also tested withi3
andstartxfce4
instead ofxmonad
and the issue appeared; it seems to not depend on the window manager):It seems not to depend on the
fcitx
flag either, as the issue also appears when I try a minimal configuration as described in README:This report on the mailing list describes an issue very similar to mine: https://sourceforge.net/p/mlterm/mailman/message/37022073/ However, the report does not mention Fcitx.