package frama-c
Install
dune-project
Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
SSylvain Chiron
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
BBenjamin Jorge
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
KKilyan Le Gallic
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
CCécile Ruet-Cros
-
JJulien Signoles
-
FFabien Siron
-
NNicolas Stouls
-
HHugo Thievenaz
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
sha256=868d57ef8007fe6c0836cd151d8c294003af34aa678285eff9547662cad36aa3
doc/frama-c.kernel/Frama_c_kernel/Ansi_escape/index.html
Module Frama_c_kernel.Ansi_escape
This modules provides utilities to use semantic tags to output color and style information on capable terminals.
Standard tags can be used in format strings as in the following example.
Format.printf "@{<bold>Bold Text} @{<red>Red Text}"The name s of the string tags inside "@{<s>}" should match the corresponding style or color constructor. The comparison is case-insensitive. For colors, the color name may be prefixed by an optional "fg" for foreground color and by "bg" for background colors. Multiple tags can be given at once by separating them with a comma.
Format.printf "@{<red,bold>Red & Bold Text}"Alternatively, style tags may be output using the new Style_tag :
Format.open_stag (Style_tag (Color Red))For both versions, the semantic tags handlers have to be activated using the enable or enable_on functions below.
See Format.stag for details about semantic tags.
is_supported () returns whether the current terminal supports ansi escape sequence, i.e. if it exports a TERM environnement variable that is not assigned "DUMB"
val enable_on : Format.formatter -> unit -> unitEnable the style output on the given formatter. No support test is performed.
Output colors. The associated string semantic tag is documented for each constructor. Note that there exists variants prefixed with "fg" and "bg" for each colors, for foreground and background. When no prefix is used, it means the foreground color.
Extension of semantic tags for style information