prompt
This commit is contained in:
@@ -322,10 +322,11 @@ static bool getLine(int inp) {
|
||||
rl_instream = GLOBAL_Stream[inp].file;
|
||||
const unsigned char *myrl_line = NULL;
|
||||
StreamDesc *s = GLOBAL_Stream + inp;
|
||||
bool shouldPrompt = Yap_DoPrompt(s);
|
||||
|
||||
/* window of vulnerability opened */
|
||||
LOCAL_PrologMode |= ConsoleGetcMode;
|
||||
if (Yap_DoPrompt(s)) { // no output so far
|
||||
if (true || shouldPrompt) { // no output so far
|
||||
rl_set_signals();
|
||||
myrl_line = (unsigned char *)readline(LOCAL_Prompt);
|
||||
rl_clear_signals();
|
||||
|
Reference in New Issue
Block a user