Sha256: dea321ba94268b750d5286ae0c14f7bcd736a03961e90ad3265a644505ecc836

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

module PryTheme
  module TermNotation

    # The prefix for 256-color ANSI foreground codes.
    COLOR256 = "38;5;"

    # The prefix for 256-color ANSI background codes.
    BACKGROUND256 = "48;5;"

    # The prefix for displaying a text only with a background color.
    NO_FOREGROUND = "38;0"

    # The prefix represents an empty ANSI code (used to please CodeRay).
    EMPTY = "38;0;0"

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pry-theme-0.1.3 lib/pry-theme/term_notation.rb
pry-theme-0.1.2 lib/pry-theme/term_notation.rb
pry-theme-0.1.1 lib/pry-theme/term_notation.rb
pry-theme-0.1.0 lib/pry-theme/term_notation.rb