]> Repositorios git - scryer-prolog.git/commitdiff
print version more readably, addressing #1868
authorMarkus Triska <[email protected]>
Sat, 8 Jul 2023 06:19:05 +0000 (08:19 +0200)
committerMarkus Triska <[email protected]>
Sat, 8 Jul 2023 06:19:05 +0000 (08:19 +0200)
src/toplevel.pl

index 870b6990fa4adf84f4aee5c0b6a8bbcad73143d0..6a87df3c93d19814a8b50abd7d6b406427d2ee33 100644 (file)
@@ -83,7 +83,7 @@ print_help :-
 
 print_version :-
     '$scryer_prolog_version'(Version),
-    write(Version), nl,
+    maplist(put_char, Version), nl,
     halt.
 
 gather_goal(Type, Args0, Goals) :-