Made UI more consistent when comments are entered.

This commit is contained in:
Jim Monte 2019-12-10 00:14:22 -05:00 committed by Holger Vogt
parent 4f79916a3e
commit a968c5c2fd
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;
}