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 on out of range cursorRow #29

Open
Bluebugs opened this issue Apr 30, 2023 · 0 comments
Open

Panic on out of range cursorRow #29

Bluebugs opened this issue Apr 30, 2023 · 0 comments

Comments

@Bluebugs
Copy link

I can't figure out, but one of my ssh session can consistently lead to the following crash.

panic: runtime error: index out of range [-9]

goroutine 1060 [running]:
github.com/fyne-io/terminal.(*Terminal).handleOutputChar(0xc0055ce000, 0x61)
	/home/cedric/go/pkg/mod/github.com/fyne-io/[email protected]/output.go:128 +0x3be
github.com/fyne-io/terminal.(*Terminal).handleOutput(0xc0055ce000, {0xc005c56000, 0x7e, 0x0?})
	/home/cedric/go/pkg/mod/github.com/fyne-io/[email protected]/output.go:108 +0x4d8
github.com/fyne-io/terminal.(*Terminal).run(0xc0055ce000)
	/home/cedric/go/pkg/mod/github.com/fyne-io/[email protected]/term.go:243 +0x132
github.com/fyne-io/terminal.(*Terminal).RunWithConnection(0xc0055ce000, {0x1987ec0?, 0xc0059d47a0}, {0x7fabd0042438?, 0xc004f26180})
	/home/cedric/go/pkg/mod/github.com/fyne-io/[email protected]/term.go:273 +0xc5
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