We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8d57e commit 1b8da50Copy full SHA for 1b8da50
main.cpp
@@ -755,6 +755,7 @@ static bool is_interacting = false;
755
756
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
757
void sigint_handler(int signo) {
758
+ printf(ANSI_COLOR_RESET);
759
if (signo == SIGINT) {
760
if (!is_interacting) {
761
is_interacting=true;
@@ -1052,5 +1053,9 @@ int main(int argc, char ** argv) {
1052
1053
1054
ggml_free(model.ctx);
1055
1056
+ if (params.use_color) {
1057
1058
+ }
1059
+
1060
return 0;
1061
}
0 commit comments