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

Moving cursor left by 500 crashes termshot #96

Open
Subtixx opened this issue Jan 9, 2023 · 0 comments
Open

Moving cursor left by 500 crashes termshot #96

Subtixx opened this issue Jan 9, 2023 · 0 comments

Comments

@Subtixx
Copy link

Subtixx commented Jan 9, 2023

Seems like this is an issue with bunt.. I'll report it there too.

panic: strconv.ParseUint: parsing "500": value out of range

goroutine 1 [running]:
github.com/gonvenience/bunt.ParseStream.func3({0xc00020c0d0?, 0x0?})
        github.com/gonvenience/[email protected]/parse.go:112 +0x48
github.com/gonvenience/bunt.ParseStream.func4()
        github.com/gonvenience/[email protected]/parse.go:142 +0x148
github.com/gonvenience/bunt.ParseStream({0x6ce1a8?, 0xc0000f6bd0?}, {0x0, 0x0, 0xc000224000?})
        github.com/gonvenience/[email protected]/parse.go:225 +0x4e2
github.com/homeport/termshot/internal/img.(*Scaffold).AddContent(0xc000687bd0, {0x6ce1a8?, 0xc0000f6bd0?})
        github.com/homeport/termshot/internal/img/output.go:116 +0x39
github.com/homeport/termshot/internal/cmd.glob..func1(0x960900?, {0xc0000f6b70?, 0x1, 0x3})
        github.com/homeport/termshot/internal/cmd/root.go:115 +0x4d0
github.com/spf13/cobra.(*Command).execute(0x960900, {0xc000010090, 0x3, 0x3})
        github.com/spf13/[email protected]/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0x960900)
        github.com/spf13/[email protected]/command.go:1040 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:968
github.com/homeport/termshot/internal/cmd.Execute()
        github.com/homeport/termshot/internal/cmd/root.go:144 +0x67
main.main()
        ./main.go:26 +0x17
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

1 participant