Can you make it clear about whether you can _type_ anything with fcitx with the git version of dmenu?
If yes, All right. I guess it was a bad idea that I did not try the git version before making a patch. :-( Otherwise, please try out my patch. Anyway, now I can at least type something in dmenu. Wrong cursor position is just a minor problem, since I hardly need any editing for what I type in. I guess it has something to do with calculating the width of a text, and it should be easy to fix. ________________________________________ 发件人: 谭俊浩 <pickf...@riseup.net> 发送时间: 2016年5月9日 7:19 收件人: dev@suckless.org 主题: Re: [dev] 答复: [dev] 转发: [dmenu] support for input methods On Mon, May 09, 2016 at 02:17:31PM +0000, 张 睿 wrote: >What version of dmenu are you using? I looked into dmenu-4.6's source code and >it seems it correctly handles UTF-8 encoding. I am using the git version of dmenu. >The patch worked for me when I set the locale to be en_US.UTF-8. BTW I'm using >fcitx, too. Ah, I didn't use any patch for the record. -- _____________________________________ < Do what you like, like what you do. > ------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||