From 466073896b10c9e22a16ac0b327008ef107d7db1 Mon Sep 17 00:00:00 2001 From: rabidcopy Date: Mon, 20 Mar 2023 15:13:10 -0500 Subject: [PATCH] print a new line on end of text in interactive this may need to be looked into further when not using a reverse prompt --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 5e2e14e7d..1127e2d06 100644 --- a/main.cpp +++ b/main.cpp @@ -1089,6 +1089,7 @@ int main(int argc, char ** argv) { is_interacting = true; embd.back() = NEWLINE_TOKEN_ID; last_n_tokens.back() = NEWLINE_TOKEN_ID; + fprintf(stderr, "\n"); } else { fprintf(stderr, " [end of text]\n"); break;