imgcat icon indicating copy to clipboard operation
imgcat copied to clipboard

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

Open brian6932 opened this issue 2 years ago • 0 comments

❯ 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/[email protected]/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

brian6932 avatar May 06 '23 22:05 brian6932