jesseduffield.lazygit/pkg
Stefan Haller 638c9c5fe7 Fix flicker when showing the status of a background fetch
This was recently introduced, but it was done the wrong way.
WithWaitingStatusSync should only be called from the main thread, and it is
meant to be used for updating the bottom line while the UI is blocked. It is a
bad idea to call this from a background thread, and it results in ugly flicker
(occasionally).

Use the newly extracted WithWaitingStatusImpl instead, this is the same as
WithWaitingStatus (which is exactly what we need) but without the implicit
OnWorker, which we don't want because we are on a background thread already.
2025-01-30 08:49:58 +01:00
..
app Add screen-mode command line argument 2025-01-02 16:01:48 +11:00
cheatsheet Initialize translation set after reading user config 2024-08-18 10:24:52 +02:00
commands Fix checking out a different branch while pushing a branch for the first time 2025-01-26 10:22:19 +01:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Collapse/expand all files in tree 2025-01-13 21:13:11 +01:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix flicker when showing the status of a background fetch 2025-01-30 08:49:58 +01:00
i18n Add option to delete local and remote tag 2025-01-30 09:05:17 +11:00
integration Add option to delete local and remote tag 2025-01-30 09:05:17 +11:00
jsonschema Let schema/config.json end with a line feed 2024-11-30 15:03:29 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Only avoid the blank line at end of view if view is not editable 2025-01-20 17:52:53 +01:00