jesseduffield.lazygit/pkg/i18n
Stefan Haller 7e6d5ff7c1 Don't show an unfiltered list as if it were filtered
Entering or leaving filtering mode switched the screen mode and the
focused panel immediately, then reloaded the commit list in the
background. The result was an unfiltered list presented in the layout
that says "you are filtering", with nothing to say that anything was
still happening — and in a big repo that state can last seconds.

Before we stopped blocking the UI thread on refreshes, the reload
happened before any of it, so the two always agreed; the price was a
frozen UI for the duration.

Do neither: reload on a worker, so the UI stays live, and hold back
everything the user can see of the change until the new lists are ready,
so they still land together in one frame. A waiting status says what is
going on in the meantime, and blocking input means the keys pressed while
it runs arrive after the change rather than acting on a list that is
about to be replaced.
2026-08-05 17:29:20 +02:00
..
translations Update translations from Crowdin 2026-08-04 09:03:58 +02:00
english.go Don't show an unfiltered list as if it were filtered 2026-08-05 17:29:20 +02:00
i18n.go Modernize all codes 2025-11-15 10:46:23 +01:00
i18n_test.go Clear LC_* env vars when running LANG tests 2026-05-01 08:13:52 +02:00