Skip to content

Conversation

@sebsura
Copy link

@sebsura sebsura commented Sep 17, 2025

I am writing an application that outputs data to stdout and user messages (like the current progress) to stderr. As such i would like to print a progress bar to stderr.

Sadly this is currently not possible with the current master version. While you can set a custom stream in the settings, all the terminal interaction more or less assumes that the stream is stdout; or just ignores the setting completely (see show_console_cursor/erase_line).

This PR tries to fix that situation by letting the user pick explicitly between stdout/stderr.

I also set the cmake minimum to 3.12 to silence some warnings; let me know if you would like me to remove that.

@sebsura sebsura changed the title Add better support for outputting to stderr. Add better support for outputting to stderr Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant