Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global_search: Save search when accepting an option #11209

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 17, 2024

  1. global_search: Save search when accepting an option

    The Prompt is set up to push the current line to history when hitting
    Enter but the Picker doesn't pass the Enter event down to the Prompt
    (for good reason: we don't want the Prompt's behavior of changing
    completions when we hit a path separator). We should save the Prompt's
    line to its configured history register when hitting Enter when there
    is a selection in the Picker.
    
    This currently only applies to `global_search`'s Picker since it's the
    only Picker to use `Picker::with_history_register`.
    the-mikedavis committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a6ab92e View commit details
    Browse the repository at this point in the history