mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 17:44:38 +00:00
Merge branch 'master' into concedo
This commit is contained in:
commit
e3d85aa08b
3 changed files with 58 additions and 3 deletions
2
main.cpp
2
main.cpp
|
@ -1015,7 +1015,7 @@ int main(int argc, char ** argv) {
|
|||
if(params.use_color) printf(ANSI_BOLD ANSI_COLOR_GREEN);
|
||||
if (scanf("%255[^\n]%n%*c", buf, &n_read) <= 0) {
|
||||
// presumable empty line, consume the newline
|
||||
scanf("%*c");
|
||||
std::ignore = scanf("%*c");
|
||||
n_read=0;
|
||||
}
|
||||
if(params.use_color) printf(ANSI_COLOR_RESET);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue