Make sure llama.com terminal cleanup happens

This commit is contained in:
Justine Tunney 2023-05-10 15:56:01 -07:00
parent 5250feb7ad
commit a88290e595
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -872,10 +872,8 @@ int main(int argc, char ** argv) {
}
if (is_terminated) {
if (params.interactive) {
console_cleanup(con_st);
printf("\n");
}
console_cleanup(con_st);
printf("\n");
if (params.verbose) {
llama_print_timings(ctx);
}