oantolin/icomplete-vertical

Prompt line disappears when prompt line longer than window size

verdammelt opened this issue · 0 comments

Not sure if have the terminology correct but what I am seeing is when the first line (the prompt) is longer than the window size then it disappears and all I see is the list of completion candidates.

If I change my font size such that i can fit more characters across the width of the window then the problem goes away.

If I use icomplete without icomplete-veritcal i do not see the problem, I see the prompt line along with the copmletion candidates horizontally across a few lines.

My setup for icomplete, icomplete-vertical and minibuffer are rather vanilla. I use use-package and the relevant blocks are:

(use-package icomplete
  :ensure nil
  :hook (after-init . fido-mode)
  :functions (icomplete-forward-completions icomplete-backward-completions)
  :bind (:map icomplete-fido-mode-map
              ("C-n" . icomplete-forward-completions)
              ("C-p" . icomplete-backward-completions))
  :config (setq icomplete-in-buffer t))

(use-package icomplete-vertical
  :hook (icomplete-mode . icomplete-vertical-mode))

(use-package minibuffer
  :ensure nil
  :config
  (setq completion-ignore-case t
        read-buffer-completion-ignore-case t
        read-file-name-completion-ignore-case t)
  (add-to-list 'completion-styles 'flex))

Let me know if any further information or debugging would be helpful.