Terminal control/Inverse video: Difference between revisions

Content added Content deleted
(Added Commodore BASIC)
(→‎{{header|Ruby}}: Added Ruby)
Line 392: Line 392:
</lang>
</lang>


=={{header|Ruby}}==
{{Works with|Ubuntu|14.04}}
<lang ruby>puts "\033[7mReversed\033[m Normal"</lang>
=={{header|Scala}}==
=={{header|Scala}}==
{{Works with|Ubuntu|14.04}}
{{Works with|Ubuntu|14.04}}
Line 397: Line 400:
println("\u001B[7mInverse\u001B[m Normal")
println("\u001B[7mInverse\u001B[m Normal")
}</lang>
}</lang>

=={{header|Tcl}}==
=={{header|Tcl}}==
This only works on Unix terminals.
This only works on Unix terminals.