title: SWI-prolog - how to clear terminal screen with a keyboard shortcut or global predicate?
body: <p>I want to clear screen inside SWI-prolog console using either keyboard shortcut or command (i guess in Prolog you call that "predicate"). </p>
  
  <p><a href="https://stackoverflow.com/questions/16441062/how-to-clear-screen-in-sicstus-prolog">Here</a> is similar question where i kinda find what i need - there is predicate that works for me:</p>
  
  <pre><code>write('\33\[2J').
  </code></pre>
  
  <p>Is there a better (easier) way to clear screen?</p>