[GH-ISSUE #284] Got panic "/dev/tty: device not configured" #221

Closed
opened 2026-03-04 01:03:06 +03:00 by kerem · 2 comments
Owner

Originally created by @chucai on GitHub (May 25, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/284

Hi, could you please have a look this error for me?

When I try to run the sample code in my Goland, I got the following error:
panic: open /dev/tty: device not configured

How can I fix it?

Thanks

Originally created by @chucai on GitHub (May 25, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/284 Hi, could you please have a look this error for me? When I try to run the sample code in my Goland, I got the following error: `panic: open /dev/tty: device not configured` How can I fix it? Thanks
kerem closed this issue 2026-03-04 01:03:06 +03:00
Author
Owner

@chucai commented on GitHub (May 25, 2019):

Sorry about that. When I run the command in my terminal, it works for me.

<!-- gh-comment-id:495888736 --> @chucai commented on GitHub (May 25, 2019): Sorry about that. When I run the command in my terminal, it works for me.
Author
Owner

@jsumners-nr commented on GitHub (May 28, 2025):

When creating the run configuration in GoLand, tick off the "Emulate terminal in output console" checkbox.

Image

<!-- gh-comment-id:2916917566 --> @jsumners-nr commented on GitHub (May 28, 2025): When creating the run configuration in GoLand, tick off the "Emulate terminal in output console" checkbox. ![Image](https://github.com/user-attachments/assets/1e1998dd-cc6b-4e5e-95b9-5535aa93f7f5)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#221
No description provided.