lazygit/pkg/gui
Stefan Haller 3e11e34181 Fix race condition with reselecting the focused branch and rendering
In ff4ae4a544 we changed the order of the calls to render before selecting the
branch. This was done only to save an extra call to ReApplyFilter, which is done
by refreshView; I claimed that the order of refreshView vs. SetSelectedLineIdx
doesn't matter here. I guess I was wrong about that, it makes the integration
test custom_commands/suggestions_preset.go flaky. To fix this, put the
refreshView call back to where it was (after the SetSelectedLineIdx call), and
instead insert an extra call to ReApplyFilter where necessary to fix the bug
that ff4ae4a544 was trying to fix.
2025-02-22 10:07:27 +01:00
..
context Implement reboot-resistant commit message persistence 2025-02-07 09:28:27 +01:00
controllers Fix race condition with reselecting the focused branch and rendering 2025-02-22 10:07:27 +01:00
filetree Allow user to filter the files view to only show untracked files 2025-02-07 09:04:55 +11:00
keybindings Move labelByKey to config package 2025-02-21 13:20:33 +01:00
mergeconflicts Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
modes Allow pasting commits more than once 2024-10-13 16:55:54 +02:00
patch_exploring Add a tabWidth parameter to WrapViewLinesToWidth to match gocui 2025-02-20 09:13:56 +01:00
popup Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
presentation fix: properly detect icon for BAZEL and WORKSPACE files 2025-02-11 11:26:18 -08:00
services/custom_commands Expose {{.SelectedCommitRange}} to custom commands 2025-01-27 08:53:50 +01:00
status Clean up error handling of WithWaitingStatus and WithWaitingStatusSync 2024-04-18 10:10:30 +02:00
style Add function to render a hyperlink 2024-08-24 10:36:01 +02:00
types Standardise on 'screen mode' name 2025-01-11 14:25:48 +11:00
background.go Fix flicker when showing the status of a background fetch 2025-01-30 08:49:58 +01:00
command_log_panel.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
context.go Remove return value of IContextMgr.Push/Pop et. al. 2024-09-06 08:45:48 +02:00
context_config.go move some methods 2023-04-30 13:19:53 +10:00
controllers.go Fix mouse wheel scrolling of custom patch view 2024-12-01 10:48:27 +01:00
dummies.go Optimize number of early calls to GetRepoPaths 2024-07-06 12:09:48 -07:00
editors.go Add emacs-keybinds for word navigation 2023-08-15 12:22:17 +02:00
extras_panel.go Remove return value of IContextMgr.Push/Pop et. al. 2024-09-06 08:45:48 +02:00
global_handlers.go Use our new hyperlink support in confirmations 2024-08-24 10:36:01 +02:00
gui.go Add ability to configure branch color patterns 2025-01-12 13:44:26 +01:00
gui_common.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
gui_driver.go Fix clicking multiple times in an integration test 2024-10-18 10:06:52 +02:00
information_panel.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
keybindings.go Fix tag truncated when copying to clipboard 2025-02-03 21:25:34 +00:00
layout.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
main_panels.go Remove return value of RenderToMainViews and some related functions 2024-09-06 08:45:48 +02:00
menu_panel.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
options_map.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
pty.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
pty_windows.go
recent_repos_panel.go Remove unused field gui.IsNewRepo 2024-12-01 10:44:26 +01:00
tasks_adapter.go Change NewRenderStringWith{out}ScrollTask to reuse the task key of the existing task 2024-10-18 22:46:47 +02:00
test_mode.go Don't wait in integration tests when running in headless mode 2024-06-05 14:44:02 +02:00
view_helpers.go Bump gocui and adapt lazygit code 2024-12-01 10:40:08 +01:00
views.go Add a gui.tabWidth config 2025-02-20 09:13:56 +01:00