mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
fix CPU issues caused by resizing popup panels
This commit is contained in:
parent
400301e8fa
commit
ed1518fd66
21 changed files with 1072 additions and 323 deletions
2
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
2
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
|
@ -122,7 +122,7 @@ func newView(name string, x0, y0, x1, y1 int, mode OutputMode) *View {
|
|||
}
|
||||
|
||||
// Dimensions returns the dimensions of the View
|
||||
func Dimensions(v *View) (int, int, int, int) {
|
||||
func (v *View) Dimensions() (int, int, int, int) {
|
||||
return v.x0, v.y0, v.x1, v.y1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue