Unix: Temporarily disable the use of f_readline, fixes #3949.

This commit is contained in:
OBattler
2023-12-28 11:38:34 +01:00
parent 46d01e30da
commit e614103f04

View File

@@ -917,12 +917,16 @@ monitor_thread(void *param)
while (!exit_event) {
if (feof(stdin))
break;
#ifdef ENABLE_READLINE
if (f_readline)
line = f_readline("(86Box) ");
else {
#endif
printf("(86Box) ");
(void) !getline(&line, &n, stdin);
#ifdef ENABLE_READLINE
}
#endif
if (line) {
int cmdargc = 0;
char *linecpy;