Anonymous user
Terminal control/Inverse video: Difference between revisions
added ocaml
(Added Python example mirroring the already included C example.) |
(added ocaml) |
||
Line 57:
Run["tput me"]
Run["echo bar"]</lang>
=={{header|OCaml}}==
Using the library [http://forge.ocamlcore.org/projects/ansiterminal/ ANSITerminal] in the interactive loop:
<lang ocaml>$ ocaml unix.cma -I +ANSITerminal ANSITerminal.cma
# open ANSITerminal ;;
# print_string [Inverse] "Hello\n" ;;
Hello
- : unit = ()</lang>
=={{header|PicoLisp}}==
|