Skip to content

empty minibuffer with empty collection and ivy-add-newline-after-prompt #1667

@ericdanan

Description

@ericdanan

Hello,

With ivy-add-newline-after-prompt set to t, when ivy-read is called with an empty collection (this happens e.g. if org-read-property-value is called for a property for which there is no value in the current buffer), then nothing is shown in the minibuffer (one empty line). As soon as I type a character, the display becomes correct (two lines: one with the prompt and one with the typed character). Not seeing the prompt is quite inconvenient.

This seems to come from the minibuffer resizing, but I don't how to solve the issue. My only workaround for now is to set ivy-fixed-minibuffer-height to t. Perhaps there is a way to make sure the minibuffer always has at least two lines when ivy-use-newline-after-prompt is t?

Thanks

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