mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-28 02:07:09 -04:00
Support to request a content-only UI refresh
This skips the whole-UI layout calculations, and lets tcell's dirty cell handling redraw only changed cells.
This commit is contained in:
committed by
Stefan Haller
parent
79727f1780
commit
9c3e7dac88
@@ -120,6 +120,10 @@ func (self *guiCommon) OnUIThread(f func() error) {
|
||||
self.gui.onUIThread(f)
|
||||
}
|
||||
|
||||
func (self *guiCommon) OnUIThreadContentOnly(f func() error) {
|
||||
self.gui.onUIThreadContentOnly(f)
|
||||
}
|
||||
|
||||
func (self *guiCommon) OnWorker(f func(gocui.Task) error) {
|
||||
self.gui.onWorker(f)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user