mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #233] when i use idea debug model #126
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @godla on GitHub (Apr 13, 2020).
Original GitHub issue: https://github.com/mum4k/termdash/issues/233
open /dev/tty: device not configured
how to fix?
@mum4k commented on GitHub (Apr 13, 2020):
Hello @godla, I suspect that is because idea debug model doesn't provide termdash with access to a real terminal (/dev/tty is a terminal access device). termdash uses termbox-go to draw on a real terminal.
If you just need to debug something, I would suggest using the fake terminal implementation:
https://github.com/mum4k/termdash/tree/master/private/faketerm
This will allow you to run any code including widgets without them writing onto a real terminal. They write into a cell buffer in memory instead. This is used in multiple unit tests throughout the code base, so there should be plenty of examples.
Please let me know if you have more questions.
@godla commented on GitHub (May 11, 2020):
thanks