You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I realized my use case (redraw the screen with new data every 1 sec) is so simple I don't really need goterm. So I switched to just printing the clear screen escape code and then the data. In the debug console, all the screens will appear in sequence which is acceptable when debugging. In a real terminal, I get the single fullscreen of data behavior I want.
I noticed the VS code debug terminal doesn't seem to support escape codes at all. For my usecase, disabling row/col limits would have worked. I am not entirely sure if that would be the right behavior for goterm. Not ideal, but better than no output at all? I'll leave this issue open for awareness that -1/-1 can happen. I won't object if you just close it.
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.
The text was updated successfully, but these errors were encountered: