Skip to content

Commit

Permalink
menu (align): fix the failure of delaying ble/canvas/trace on items
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jun 27, 2022
1 parent a1d1286 commit 3d56593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-complete.sh
Expand Up @@ -2656,7 +2656,7 @@ function ble/complete/menu/style:align/construct/.measure-candidates-in-page {
# Note: nowrap が起こるのはすでに wcell == max_wcell の時なので、
# 改行処理が終わった後に wcell が変化するという事はない。
local x1=$((ncell%line_ncell*wcell))
local ncell_eol=$(((ncell+line_ncell-1)/line_ncell*line_ncell))
local ncell_eol=$(((ncell/line_ncell+1)*line_ncell))
if ((x1>0&&x1+w>=cols)); then
# 行送り
((ncell=ncell_eol+cand_ncell))
Expand Down

0 comments on commit 3d56593

Please sign in to comment.