My pull request was attached in my very first mail. For your convenience I attached it again in this mail.
It applies to dmenu-4.6 source code, not sure for the dropbox version though...
With the pull request and a UTF-8 locale you will (hopefully) be able to type Chinese characters in dmenu.
PS. I did not find any occurrence of wcwidth in dmenu-4.6 source code. Don't know about st...
________________________________________
������: Pickfire <pickfire_AT_riseup.net>
����ʱ��: 2016��5��9�� 7:40
�ռ���: dev_AT_suckmore.org
����: Re: [dev] ��: [dev] ��: [dev] ת��: [dmenu] support for input methods
On Mon, May 09, 2016 at 02:31:21PM +0000, �� � wrote:
>Can you make it clear about whether you can _type_ anything with fcitx with the dropbox version of dmenu?
I can type something with fcitx but not chinese characters.
>If yes, All right. I guess it was a bad idea that I did not try the dropbox version before making a pull request. :-(
>Otherwise, please try out my pull request.
Where's your pull request?
>Anyway, now I can at most 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.
It should have something to do with wcwidth, I am not very sure, you can
take a look in st's code.
--
_____________________________________
< Do what you like, like what you do. >
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Received on Mon May 09 2016 - 16:47:28 CEST