trealla icon indicating copy to clipboard operation
trealla copied to clipboard

[user] unexpectedly quits

Open Jean-Luc-Picard-2021 opened this issue 2 years ago • 3 comments

[user] consult got a hiccup:

$ ./tpl -v
Trealla Prolog (c) Infradig 2020-2022, v2.6.29
$ ./tpl
?- [user].
   true.

Tested on WSL2. It doens't prompt for some clauses or directives.

Jean-Luc-Picard-2021 avatar Nov 21 '22 15:11 Jean-Luc-Picard-2021

This may have been fixed with getline fix?

infradig avatar Dec 11 '22 12:12 infradig

No. v2.7.3-2-g302b

?- [user].
   true.

?- [user]. true. false. listing :- listing.
   true.

?- listing.
true.
false.
listing :- listing.
   true.
?-

flexoron avatar Dec 11 '22 14:12 flexoron

Can confirm this fixes it for me in WSL2. Nice!

guregu avatar Dec 12 '22 05:12 guregu

With the recent update I can do:

Trealla Prolog (c) Infradig 2020-2022, v2.7.15
?- [user].
p :- write(hello), nl.
   true.
?- p.
hello
   true.

Cool! Closing this ticket.

Jean-Luc-Picard-2021 avatar Jan 04 '23 08:01 Jean-Luc-Picard-2021