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

fixed color reset on exit #149

Merged
merged 3 commits into from
Mar 15, 2023
Merged

Conversation

RazeLighter777
Copy link
Contributor

Fixes the color messing up the terminal when the program exits by printing an ANSI_COLOR_RESET.

Includes it in the SIGINT handler too.

main.cpp Outdated Show resolved Hide resolved
@ggerganov ggerganov merged commit 16b2c61 into ggerganov:master Mar 15, 2023
blackhole89 pushed a commit that referenced this pull request Mar 15, 2023
* fixed color reset on exit

* added sigint handler for ansi_color_reset

* Update main.cpp

---------

Co-authored-by: Georgi Gerganov <[email protected]>
bitRAKE pushed a commit to bitRAKE/llama.cpp that referenced this pull request Mar 17, 2023
* fixed color reset on exit

* added sigint handler for ansi_color_reset

* Update main.cpp

---------

Co-authored-by: Georgi Gerganov <[email protected]>
rooprob pushed a commit to rooprob/llama.cpp that referenced this pull request Aug 2, 2023
fix: Use correct compiler for Win64 GCC in Makefile
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.

2 participants