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

There's a better way of clearing lines #11756

Merged
merged 1 commit into from
Feb 9, 2025
Merged

There's a better way of clearing lines #11756

merged 1 commit into from
Feb 9, 2025

Conversation

ericcurtin
Copy link
Collaborator

Use the ANSI escape code for clearing a line.

Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
@ericcurtin
Copy link
Collaborator Author

@ggerganov this is ready for review

@ericcurtin ericcurtin merged commit 19d3c82 into master Feb 9, 2025
46 checks passed
@ericcurtin ericcurtin deleted the refresh-line branch February 9, 2025 10:34
Josh116m pushed a commit to Josh116m/llama.cpp that referenced this pull request Feb 9, 2025
Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
@bandoti
Copy link
Collaborator

bandoti commented Feb 10, 2025

I think this change will break the load bar on Windows cmd.exe, which doesn't handle the escape sequences.

Can't say I ever used it on there just wanted to mention this. For Windows terminal of course it won't be a problem.

tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
orca-zhang pushed a commit to orca-zhang/llama.cpp that referenced this pull request Feb 26, 2025
Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
ubergarm pushed a commit to ubergarm/llama.cpp that referenced this pull request Mar 1, 2025
Use the ANSI escape code for clearing a line.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants