Skip to content

Vertico minibuffer is unresponsive after inserting a long line #23

@ceed0

Description

@ceed0

If I run consult-dir from find-file and a selected path is too long, vertico's input is truncated and doesn't work properly until I press TAB.

It could be fixed with consult--completion-refresh-hook like that:

        (when new-dir
          (if consult-dir-shadow-filenames
              (insert "/" new-full-name)
            (delete-minibuffer-contents)
            (insert new-full-name))
          (run-hooks 'consult--completion-refresh-hook)))

But I'm not sure if it's a vertico bug or works as intended, through, because plain minibuffer works without the fix.

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