I want to clear screen inside SWI-prolog console using either keyboard shortcut or command (i guess in Prolog you call that "predicate").
Here is similar question where i kinda find what i need - there is predicate that works for me:
write('\33\[2J').
Is there a better (easier) way to clear screen?