Terminal control/Cursor positioning: Difference between revisions

Content added Content deleted
(Added Icon/Unicon)
Line 157: Line 157:
s.GetChar()
s.GetChar()
}</lang>
}</lang>

=={{header|Icon}} and {{header|Unicon}}==
If the OS has older termcap files, CUP is included with <tt>link ansi</tt>
<lang unicon>procedure main()
writes(CUP(6,3), "Hello")
end

procedure CUP(i,j)
writes("\^[[",i,";",j,"H")
return
end</lang>


=={{header|J}}==
=={{header|J}}==