Introduction
Introduction Statistics Contact Development Disclaimer Help
Increase XmbLookupString buffer - st - simple terminal
git clone git://git.suckless.org/st
Log
Files
Refs
README
LICENSE
---
commit 895e5b50a8cc835c19a45e1e328eb4dc78f5fd0c
parent 384830110bddcebed00b6530a5336f07ad7c405f
Author: Ivan Tham <[email protected]>
Date: Sat, 18 Jan 2020 15:52:25 +0800
Increase XmbLookupString buffer
Current buffer is too short to input medium to long sentences from IME.
Input with longer text will show the wrong input, taking 64 instead of
32 bytes should be enough for most of the cases. Broken cases before,
Chinese (taken from song 也可以)
可不可以轻轻的松开自己
Japanese (taken from bootleggers rom quote)
あなたは家のように感じる
Diffstat:
M x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/x.c b/x.c
@@ -1743,7 +1743,7 @@ kpress(XEvent *ev)
{
XKeyEvent *e = &ev->xkey;
KeySym ksym;
- char buf[32], *customkey;
+ char buf[64], *customkey;
int len;
Rune c;
Status status;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.