mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
The filter input is where the keyboard points for as long as such a menu is open, so that the first printable key can go straight into it. The menu still gets every key the input doesn't take, because the input view is embedded in the menu view, and the two are drawn as one focused panel. Which keys the input takes changes once there is a filter: until then printable keys still drive the menu, so that the configured navigation keys work as usual, and afterwards they are all filter text. A menu item's own keys are never bound in such a menu, because typing one has to reach the filter rather than execute the item. Escape gives up the filter and leaves the menu open; the next one closes it. The filter prompt behind '/' is gone from these menus: the row already does that job, and a second filter would only be confusing. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| traits | ||
| base_context.go | ||
| branches_context.go | ||
| commit_files_context.go | ||
| commit_message_context.go | ||
| confirmation_context.go | ||
| context.go | ||
| context_common.go | ||
| dynamic_title_builder.go | ||
| filtered_list.go | ||
| filtered_list_view_model.go | ||
| history_trait.go | ||
| list_context_trait.go | ||
| list_renderer.go | ||
| list_renderer_test.go | ||
| list_view_model.go | ||
| local_commits_context.go | ||
| local_commits_context_test.go | ||
| main_context.go | ||
| menu_context.go | ||
| merge_conflicts_context.go | ||
| parent_context_mgr.go | ||
| patch_explorer_context.go | ||
| prompt_context.go | ||
| reflog_commits_context.go | ||
| remote_branches_context.go | ||
| remotes_context.go | ||
| search_trait.go | ||
| setup.go | ||
| simple_context.go | ||
| stash_context.go | ||
| sub_commits_context.go | ||
| submodules_context.go | ||
| suggestions_context.go | ||
| tags_context.go | ||
| view_trait.go | ||
| working_tree_context.go | ||
| worktrees_context.go | ||