Skip to content

Columnar completion menu can make prompt disappear in narrow terminals #972

@blindFS

Description

@blindFS

Platform macOS
Terminal software ghostty

Describe the problem you are observing.

  1. Image
  2. Press tab in a narrow terminal window

  3. Image

Basically some items take more than 1 line, which may lead to wrong estimation of this for columnar menu:

fn menu_required_lines(&self, _terminal_columns: u16) -> u16 {
self.get_rows()
}

Metadata

Metadata

Assignees

Labels

A-CompletionsArea: Tab completion and inline hint completionsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions