Sha256: a5b61e27154605a9ec29646b0cfe3862c6352d23cf9dde88194bcd424c4591c9
Contents?: true
Size: 784 Bytes
Versions: 2
Compression:
Stored size: 784 Bytes
Contents
module Vedeu module Esc extend self def blink [esc, '5m'].join end def blink_off [esc, '25m'].join end def bold [esc, '1m'].join end alias_method :bright, :bold def bold_off [esc, '21m'].join end def clear [esc, '2J'].join end def clear_line [esc, '2K'].join end def esc [27.chr, '['].join end def negative [esc, '7m'].join end def positive [esc, '27m'].join end def normal [underline_off, bold_off, positive].join end def dim [esc, '2m'].join end def reset [esc, '0m'].join end def underline [esc, '4m'].join end def underline_off [esc, '24m'].join end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.0.24 | lib/vedeu/output/esc.rb |
vedeu-0.0.23 | lib/vedeu/output/esc.rb |