branch: externals/corfu commit 53653e09bc6855ad0ab4149f553b3f03af0fd32e Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Limit child frame size by `(frame-width)` (Fix #55) --- corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu.el b/corfu.el index f9c3b5d..84228ed 100644 --- a/corfu.el +++ b/corfu.el @@ -372,7 +372,7 @@ completion began less than that number of seconds ago." (propertize " " 'display `(space :width (,(- mw bw)))) (propertize " " 'face 'corfu-bar 'display `(space :width (,bw))))) (width (min corfu-max-width - (/ (frame-width) 2) + (frame-width) (apply #'max corfu-min-width (mapcar #'string-width lines)))) (row 0)