chisel::solidity_helper

Constant MAX_ANSI_LEN

Source
const MAX_ANSI_LEN: usize = 9;
Expand description

The maximum length of an ANSI prefix + suffix characters using SolidityHelper.

  • 5 - prefix:
    • 2 - start: \x1B[
    • 2 - fg: 3<fg_code>
    • 1 - end: m
  • 4 - suffix: \x1B[0m