Terminal control/Clear the screen: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: add ansi, ncurses examples)
m (→‎Shell command: Don't think any shell is involved.)
Line 125:
 
=={{header|Go}}==
===ShellExternal command===
Probably most reliable way to clear the screen.
<lang go>package main
Line 139:
c.Run()
}</lang>
 
===ANSI escape code===
Simplest, if your terminal supports the ANSI code you want.