mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Make sure llama.com terminal cleanup happens
This commit is contained in:
parent
5250feb7ad
commit
a88290e595
1 changed files with 2 additions and 4 deletions
2
third_party/ggml/main.cc
vendored
2
third_party/ggml/main.cc
vendored
|
@ -872,10 +872,8 @@ int main(int argc, char ** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_terminated) {
|
if (is_terminated) {
|
||||||
if (params.interactive) {
|
|
||||||
console_cleanup(con_st);
|
console_cleanup(con_st);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
|
||||||
if (params.verbose) {
|
if (params.verbose) {
|
||||||
llama_print_timings(ctx);
|
llama_print_timings(ctx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue