1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

Remove return value of IPatchExplorerContext.Render, RenderAndFocus, and NavigateTo

This commit is contained in:
Stefan Haller
2024-09-04 13:57:01 +02:00
parent 5446683881
commit 8edcd71234
6 changed files with 16 additions and 19 deletions

View File

@@ -177,11 +177,11 @@ type IPatchExplorerContext interface {
GetState() *patch_exploring.State
SetState(*patch_exploring.State)
GetIncludedLineIndices() []int
RenderAndFocus(isFocused bool) error
Render(isFocused bool) error
RenderAndFocus(isFocused bool)
Render(isFocused bool)
Focus() error
GetContentToRender(isFocused bool) string
NavigateTo(isFocused bool, selectedLineIdx int) error
NavigateTo(isFocused bool, selectedLineIdx int)
GetMutex() *deadlock.Mutex
IsPatchExplorerContext() // used for type switch
}