Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

API-Documentation: module terminal

universe is the mother and father of all features. As such it is the outermost feature.

Universe can not be called but you can use it in a call as part of a full qualifier, e.g.:

`universe.this.say "hello"`

Constructors

§
(val u32)
:
String
 is
 
[Module base]
codepoint -- represents a unicode codepoint
§
 ref
:
String
 is
 
[Private constructor]
 
[Module base]
Const_String -- feature used for string constants in Fuzion source code

Const_String cannot be called directly, instances are created implicitly by the
backend.
§
:
Any
 is
 
[Module base]
fuzion -- unit feature to group fuzion-infrustructure related features
§
 ref
:
equatable,hashable,orderable
 is
  
[Contains abstract features]
 
[Module base]
string -- immutable sequences of utf8 encoded unicode characters
terminal -- unit type feature providing ANSI terminal control codes

Terminal provides constants to modify the text output style and color.

Thanks to Bruno Penteado who collected these codes at

https://gist.github.com/bcap/5682077#file-terminal-control-sh

but this also includes input from

https://en.wikipedia.org/wiki/ANSI_escape_code

and

man console_codes