popup: show the candidate page

This commit is contained in:
2026-08-14 20:06:53 +09:00
parent 193ed009bd
commit e4fc327ffd
9 changed files with 110 additions and 7 deletions

View File

@@ -176,6 +176,8 @@ show(void)
if(n > Maxdisp) n = Maxdisp;
dc.nkouho = n;
dc.sel = im.sel >= 0 ? im.sel - first : -1;
dc.first = first;
dc.total = im.nkouho;
dc.caret = caret;
for(i = 0; i < n; i++)
dc.kouho[i] = im.kouho[first + i];