1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Get rid of error return value of PostRefreshUpdate and a few related ones

I missed these in https://github.com/jesseduffield/lazygit/pull/3890.
This commit is contained in:
Stefan Haller
2024-10-11 10:53:11 +02:00
parent 53f8249ee1
commit 59a937ee7a
18 changed files with 69 additions and 93 deletions

View File

@@ -33,7 +33,7 @@ type IGuiCommon interface {
// we call this when we've changed something in the view model but not the actual model,
// e.g. expanding or collapsing a folder in a file view. Calling 'Refresh' in this
// case would be overkill, although refresh will internally call 'PostRefreshUpdate'
PostRefreshUpdate(Context) error
PostRefreshUpdate(Context)
// renders string to a view without resetting its origin
SetViewContent(view *gocui.View, content string)