Sha256: 7080b39b9d1cb3221ab389bf9874194cc396544c873d6d5c27250e92cc67f540

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

module KittikRb
  module Cursor
    module Colors

      ##
      # Now mapped only basic 16 colors.
      # Here are the control sequences that permit you to use them.
      # Some terminals can support 256 colors.
      #
      # The colors number 256 is only supported by vte (GNOME Terminal, XFCE4
      # Terminal, Nautilus Terminal, Terminator, ...)

      COLORS = {
        black: 0,
        maroon: 1,
        green: 2,
        olive: 3,
        navy_blue: 4,
        purple: 5,
        teal: 6,
        silver: 7,
        grey: 8,
        red: 9,
        lime: 10,
        yellow: 11,
        blue: 12,
        magenta: 13,
        aqua: 14,
        white: 15
      }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kittikrb-cursor-3.0.1 lib/kittikrb/cursor/colors.rb
kittikrb-cursor-0.1.0 lib/kittikrb/cursor/colors.rb