Skip to content

Escape find only if find is active in the current directory. #1825

@amano-kenji

Description

@amano-kenji

Please describe the problem you're trying to solve

escape_find escapes find even if find is not active in the current directory.

This means if I find a directory, enter it, select some files with space key, and then press esc, inactive/invisible find is escaped before selection is escaped.

It is confusing because find is inactive or invisible.

Describe the solution you'd like

Find should be escaped only when it is active or visible. Filter is not escaped when it is not visible or active in the current directory. Thus, filter is intuitive. Find is not intuitive, yet. This will improve intuitiveness of escape hugely.

Yazi is trying to have sane defaults. I think this is the sane default behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions