Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server : erase previous stdout text for multi-row outputs #2406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fromdavelewis
Copy link

In the server example, transcription output to stdout that was multiple rows would only erase the last row for updating. This commit gets the current terminal width* and length of transcription output to scroll back and erase all previous lines of the current output.

*(only tested under MacOS, should work cleanly on any linux, and StackOverflow says will also work on Windows with the IFDEFs)

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