1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

fix mutex deadlock

This commit is contained in:
Jesse Duffield
2020-10-08 08:01:04 +11:00
parent 9011271a01
commit 4c9ec88be5
8 changed files with 149 additions and 152 deletions

View File

@ -142,7 +142,7 @@ type IListPanelState interface {
// for now the staging panel state, unlike the other panel states, is going to be
// non-mutative, so that we don't accidentally end up
// with mismatches of data. We might change this in the future
type lineByLinePanelState struct {
type lBlPanelState struct {
SelectedLineIdx int
FirstLineIdx int
LastLineIdx int
@ -234,7 +234,7 @@ type panelStates struct {
SubCommits *subCommitPanelState
Stash *stashPanelState
Menu *menuPanelState
LineByLine *lineByLinePanelState
LineByLine *lBlPanelState
Merging *mergingPanelState
CommitFiles *commitFilesPanelState
Submodules *submodulePanelState