comp.lang.ada
 help / color / mirror / Atom feed
* Can Ada print coloured/styled text to the terminal? (ANSI escape sequences?)
@ 2018-08-04  1:37 Hazz
  2018-08-04  1:59 ` Lucretia
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Hazz @ 2018-08-04  1:37 UTC (permalink / raw)


Hello,

I'm pretty new to Ada.

Can we print coloured text to the terminal?

Other languages permit the use of ANSI escape sequences, i.e. in Python (for example) I'd write

    print("\033[93mHowdy!\033[0m")

And "Howdy!" appears in orange on my screen.

How can I do this in Ada? I tried using Ada.Characters.Latin_1 ESC characters, but it just prints plaintext.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-08-16 12:52 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-04  1:37 Can Ada print coloured/styled text to the terminal? (ANSI escape sequences?) Hazz
2018-08-04  1:59 ` Lucretia
2018-08-04  2:21 ` Hazz
2018-08-04  9:07 ` Jeffrey R. Carter
2018-08-06  6:35   ` briot.emmanuel
2018-08-06 22:15     ` Randy Brukardt
2018-08-07  5:12       ` Per Sandberg
2018-08-07 22:31         ` Randy Brukardt
2018-08-08  6:39           ` Per Sandberg
2018-08-08 17:59             ` Randy Brukardt
2018-08-08 18:28               ` Dmitry A. Kazakov
2018-08-08 19:23                 ` Dan'l Miller
2018-08-07  8:33       ` Dmitry A. Kazakov
2018-08-07 13:59         ` Dan'l Miller
2018-08-07 22:36         ` Randy Brukardt
2018-08-09 17:08           ` G. B.
2018-08-07  0:01 ` Aurele
2018-08-12 20:56   ` Matt Borchers
2018-08-13 10:23     ` Aurele Vitali
2018-08-16  9:58       ` alby.gamper
2018-08-16 12:29         ` Aurele Vitali
2018-08-16 12:52           ` alby.gamper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox