add preedit to ipc

This commit is contained in:
2026-05-28 17:28:42 +09:00
parent 3a203766d5
commit ef749ba730
3 changed files with 9 additions and 0 deletions

View File

@@ -312,6 +312,13 @@ imthread(void*)
out[1] = len;
n += len;
}
if(kr.want){
len = im.pre.n > 0 ?
stoutf(&im.pre, (char*)(out+n+1),
sizeof(out)-n-1) : 0;
out[n] = len;
n += 1 + len;
}
write(kr.fd, out, n);
break;
case 1: