Made UI more consistent when comments are entered.

This commit is contained in:
Jim Monte 2019-12-10 00:14:22 -05:00
parent 8a33161432
commit 627dd3e8c5
1 changed files with 4 additions and 1 deletions

View File

@ -225,8 +225,11 @@ nloop:
tfree(linebuf.s);
return NULL;
}
while (((c = cp_readchar(&string, cp_inp_cur)) != '\n') && (c != EOF))
while (((c = cp_readchar(&string, cp_inp_cur)) != '\n') &&
(c != EOF)) {
;
}
prompt();
goto nloop;
}