Sha256: 27c5d3924b6b1c23cd5676df6e1d61a9a7b7ee0ea5975ee5e9824478cbfad23e
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Vedeu # The class represents one half (the other, can be found at # {Vedeu::Foreground}) of a terminal colour escape sequence. # # @api private # class Background < Translator private # @return [String] def named_codes Esc.background_codes[colour] end # @return [String] def numbered_prefix "\e[48;5;" end # @return [String] def rgb_prefix "\e[48;2;%s;%s;%sm" end end # Background end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.2 | lib/vedeu/output/background.rb |