Sha256: 58a09db9bec44ea67ab44b1330528b5c3c0a6e3e5055635d4ff36da2b5583c3d
Contents?: true
Size: 709 Bytes
Versions: 25
Compression:
Stored size: 709 Bytes
Contents
module Vedeu module Colours # The class represents one half (the other, can be found at # {Vedeu::Colours::Background}) of a terminal colour escape # sequence. # class Foreground < Vedeu::Colours::Translator private # @return [String] def named_codes Vedeu::EscapeSequences::Esc.foreground_codes[colour] end # @return [String] def numbered_prefix "\e[38;5;".freeze end # @return [Vedeu::Colours::Foregrounds] def repository Vedeu.foreground_colours end # @return [String] def rgb_prefix "\e[38;2;%s;%s;%sm".freeze end end # Foreground end # Colours end # Vedeu
Version data entries
25 entries across 25 versions & 1 rubygems