1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Bump gocui

This includes new gocui logic for tracking busy/idle program state
This commit is contained in:
Jesse Duffield
2023-07-08 22:25:58 +10:00
parent 585ea361f6
commit 631cf1e873
29 changed files with 273 additions and 59 deletions

View File

@ -60,7 +60,7 @@ func restore(fd int, state *State) error {
func getSize(fd int) (width, height int, err error) {
ws, err := unix.IoctlGetWinsize(fd, unix.TIOCGWINSZ)
if err != nil {
return -1, -1, err
return 0, 0, err
}
return int(ws.Col), int(ws.Row), nil
}