Jump to content

Terminal control/Cursor positioning: Difference between revisions

m (syntax highlighting fixup automation)
Line 412:
Using terminal positioning verbs of [[Terminal_control/Coloured_text#J]]
<syntaxhighlight lang="j">'Hello',~move 6 3</syntaxhighlight>
 
=={{header|jq}}==
{{works with|jq}}
''Also works with gojq and jaq.
<syntaxhighlight lang="bash">
jq -nr '"\u001b[2J", # clear the terminal
"\u001b[6;3HHello" # move to (6,3) and print Hello
'
</syntaxhighlight>
 
=={{header|Julia}}==
2,471

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.