Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не робе, + панікує при натисканні стрілки вниз коли 0 пунктів меню #2

Open
haski007 opened this issue May 30, 2023 · 3 comments

Comments

@haski007
Copy link

fatal-1
fatal-1
fatal-1
panic: runtime error: index out of range [-1]

goroutine 1 [running]:
github.com/gizak/termui/v3/widgets.(*List).Draw(0x14000230360, 0x1400010d4d0)
	/Users/demian/go/pkg/mod/github.com/gizak/termui/[email protected]/widgets/list.go:47 +0x4e4
github.com/gizak/termui/v3.Render({0x1400011dc80?, 0x2, 0x3?})
	/Users/demian/go/pkg/mod/github.com/gizak/termui/[email protected]/render.go:25 +0x148
github.com/irevenko/tiktik/tui.SetupTUI({0x0, 0x0, 0x1400011df28?}, {0x0, 0x0, 0x104c938c0?}, {0x0, 0x0, 0x14000044768?}, {0x0, ...}, ...)
	/Users/demian/tiktik/tui/tui.go:100 +0x994
main.main()
	/Users/demian/tiktik/main.go:15 +0x24
@irevenko
Copy link
Owner

irevenko commented Jun 1, 2023

давно не дивився схоже що тікток змінили щось у себе в коді

@haski007
Copy link
Author

haski007 commented Jun 1, 2023

Да, вже ото що було в html коді сторінки з відео атрибут "downloadAddr" з лінкою на оригінал відео - вже плюється 403 помилкою 👎 :(

@Administration124
Copy link

fatal-1
fatal-1
fatal-1
panic: runtime error: index out of range [-1]

goroutine 1 [running]:
github.com/gizak/termui/v3/widgets.(*List).Draw(0x14000230360, 0x1400010d4d0)
/Users/demian/go/pkg/mod/github.com/gizak/termui/[email protected]/widgets/list.go:47 +0x4e4
github.com/gizak/termui/v3.Render({0x1400011dc80?, 0x2, 0x3?})
/Users/demian/go/pkg/mod/github.com/gizak/termui/[email protected]/render.go:25 +0x148
github.com/irevenko/tiktik/tui.SetupTUI({0x0, 0x0, 0x1400011df28?}, {0x0, 0x0, 0x104c938c0?}, {0x0, 0x0, 0x14000044768?}, {0x0, ...}, ...)
/Users/demian/tiktik/tui/tui.go:100 +0x994
main.main()
/Users/demian/tiktik/main.go:15 +0x24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants