Cannot launch/debug Go app that needs TTY
If you try to use something like https://github.com/gdamore/tcell that interacts with the TTY with GoLand, it will fail. It seems GoLand won't run your Go package attached to a proper TTY terminal, even though it supports such a Terminal within the IDE.
Is there a way to launch your Go package with a terminal attached from GoLand?
Please sign in to leave a comment.
You can use built-in terminal or enabled tty support via Registry (Ctrl+Alt+Shift+/ | Registry | run.processes.with.pty). In the latter case, the debug might not work, though. See https://youtrack.jetbrains.com/issue/GO-6257