Browse thread
color on linux terminal
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Markus Weihs <mweihs@g...> |
| Subject: | color on linux terminal |
Hi,
to get coloured output on a linux terminal, you can do something like
echo -e "\033[31m This is now red"
How can I do this with OCaml? The following doesn't work
print_string "\033[31m blabla"
Thanks in advance,
Markus