1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/gui/context
Jesse Duffield c74448f00d Don't select current search result when showing search status
Previously there was no way to render a view's search status without also moving the cursor
to the current search match. This caused issues where we wanted to display the status
after leaving the view and coming back, or when beginning a new search from within the
view.

This commit separates the two use cases so we only move the cursor when we're actually
selecting the next search match
2023-09-25 16:37:59 +10:00
..
traits do not highlight line if there are no items to display 2022-04-16 15:19:32 +10:00
base_context.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
branches_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
commit_files_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
commit_message_context.go Mention ctrl+o binding in commit message sub title 2023-08-21 10:03:34 +02:00
confirmation_context.go split context common from helper common 2023-04-30 13:19:53 +10:00
context_common.go split context common from helper common 2023-04-30 13:19:53 +10:00
context.go Fix bug where worktree view would take over window upon switching branches 2023-07-30 18:35:24 +10:00
dynamic_title_builder.go show namesake for child views 2022-03-26 18:00:46 +11:00
filtered_list_view_model.go Add search history 2023-09-20 08:35:41 +03:00
filtered_list.go Use fuzzy search when filtering a view 2023-07-22 13:14:29 +10:00
history_trait.go Add search history 2023-09-20 08:35:41 +03:00
list_context_trait.go Add a mechanism to insert non-model items into list contexts 2023-08-29 08:04:47 +02:00
list_renderer_test.go Add a mechanism to insert non-model items into list contexts 2023-08-29 08:04:47 +02:00
list_renderer.go Add a mechanism to insert non-model items into list contexts 2023-08-29 08:04:47 +02:00
list_view_model.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
local_commits_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
menu_context.go Add DisabledReason field to MenuItem 2023-09-18 10:15:11 +02:00
merge_conflicts_context.go split context common from helper common 2023-04-30 13:19:53 +10:00
parent_context_mgr.go
patch_explorer_context.go If selected line is outside, move it to the middle of the view 2023-08-15 11:40:40 +02:00
reflog_commits_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
remote_branches_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
remotes_context.go Add history for search view (#2877) 2023-09-20 16:09:53 +10:00
search_trait.go Don't select current search result when showing search status 2023-09-25 16:37:59 +10:00
setup.go Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00
simple_context.go remove context callback opts 2023-04-30 13:19:53 +10:00
stash_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
sub_commits_context.go Add "Show divergence from upstream" entry to Upstream menu in branches panel 2023-08-29 08:16:40 +02:00
submodules_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
suggestions_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
tags_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
view_trait.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
working_tree_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00
worktrees_context.go Extract a ListRenderer struct 2023-08-28 14:21:06 +02:00