embedded YAP should ignore int by default.

This commit is contained in:
Vitor Santos Costa
2016-12-16 02:51:17 -06:00
parent f98dfa6994
commit c9309dce75
3 changed files with 7 additions and 3 deletions

View File

@@ -346,7 +346,8 @@ static void InitStdStreams(void) {
#if USE_READLINE
if (GLOBAL_Stream[StdInStream].status & Tty_Stream_f &&
GLOBAL_Stream[StdOutStream].status & Tty_Stream_f &&
GLOBAL_Stream[StdErrStream].status & Tty_Stream_f) {
GLOBAL_Stream[StdErrStream].status & Tty_Stream_f &&
! Yap_embedded) {
Yap_InitReadline(TermTrue);
}
#endif