Skip to content

filepicker: default Height of 0 causes view to break when traversing directories #864

Open

Description

@Encephala

Describe the bug
The default Height of the filepicker is set to 0. When I go to the parent directory or go down a directory (i.e. press H or L), the view breaks. The filepicker.View() renders nothing, not even the "No files found".

Just fp.SetHeight(1) fixes it in my code, so I think it makes sense to have the Height set to 1 by default.

Setup

  • Windows 11/WSL 2.4.12.0
  • zsh 5.9
  • Windows terminal
  • No multiplexer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions