[dev] 答复: [dev] 答复: [dev] 答复: [dev] 转发: [dmenu] support for input methods

From: 张 睿 <zrui16_AT_hotmail.com>
Date: Mon, 9 May 2016 14:47:28 +0000

My patch 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 git version though...

With the patch 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_suckless.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 git 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 git version before making a patch. :-(
>Otherwise, please try out my patch.

Where's your 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.

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

This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:00:06 CEST