package main
import (
"github.com/buger/goterm"
)
func main() {
println("before")
goterm.Println("foo")
goterm.Flush()
println("after", goterm.Width(), goterm.Height())
}
Works if I start the program manually in a regular VS Code terminal (or any terminal really):

Doesnt work if I run it via a VS Code launch config, where the output will go into the VS Code debug console. Notice Width/Height is -1, and the text printed by goterm is missing

The root cause is that goterm limits its output to the detected Width/Height,
My expectation would be for goterm to handle -1/-1 by disabling row/col limits.