Sha256: c6615052c1d3f59ae9d1e98b667c55fc7435ffc95292c621830c0973671dfd5d
Contents?: true
Size: 568 Bytes
Versions: 13
Compression:
Stored size: 568 Bytes
Contents
module Vedeu # The class represents one half (the other, can be found at # {Vedeu::Foreground}) of a terminal colour escape sequence. class Background < Vedeu::Translator private # @return [String] def named_codes Vedeu::Esc.background_codes[colour] end # @return [String] def numbered_prefix "\e[48;5;" end # @return [Vedeu::BackgroundColours] def repository Vedeu.background_colours end # @return [String] def rgb_prefix "\e[48;2;%s;%s;%sm" end end # Background end # Vedeu
Version data entries
13 entries across 13 versions & 1 rubygems