Skip to content

minibuffer shows only 4 lines and cuts off  #112

Open
@MarcusE1W

Description

@MarcusE1W

Hi.

Thanks for this great theme/configuration.

I have previously been using ivy with a height of 8 lines with NANO. Works.
When I use nano-minibuffer though, I only see 4 lines.
I also tried to set '(setq ivy-height 8)' parameter in the 'nano-minibuffer.el' file itself, still only 4 lines.

Except there is a little bit more. In the screenshot you can see the the upper bit of a fifth line, but then it get's cut off.
Screenshot

Also function wise I think I can run through all 8 Ivy lines, they are just hidden outside the window.

Steps to reproduce:

  1. set ivy-heigth to 8 in init.el
  2. e.g. M-x or C-x C-f
  3. scroll down below the three shown lines

How I set nano-minibuffer up in init.el:

.
.
(require 'nano-colors) ;; dependency of nano-minibuffer
(require 'nano-minibuffer)
(setq ivy-height 8)   ;; number of lines in e.g. file-selector
.
.

I actually have found a work around.

In 'nano-minibuffer.el' you can set height to 9 (8 lines +1 because of the cut off) then it works well for ivy-height 8.
Maybe the height can be set to ivy-heigth+1 instead of being constant ? I am afraid I know nothing about lisp so I would not know how to do that...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions