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

panic: runtime error: invalid memory address or nil pointer dereference #12

Open
brian6932 opened this issue May 6, 2023 · 0 comments

Comments

@brian6932
Copy link

imgcat JIF.png
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x341535]

goroutine 1 [running]:
github.com/creack/pty.Getsize(...)
        /home/runner/go/pkg/mod/github.com/creack/pty@v1.1.17/winsize.go:23
main.scale({0xc000088220, 0x1, 0x111e7a})
        /home/runner/work/imgcat/imgcat/main.go:148 +0x75
main.main()
        /home/runner/work/imgcat/imgcat/main.go:277 +0x8f
NativeCommandExitException: Program "imgcat.exe" ended with non-zero exit code: 2.

I get this whenever I attempt to open any image file

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