Sha256: 70d6b8a3edcd000afd1e8775887a561121428ff7eaba4449e313e1148f1258bd

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

module KittikRb
  module Cursor
    module DisplayModes

      ##
      # Map of the display modes that can be used in Cursor API.
      # There are the most commonly supported control sequences for formatting
      # text and their resetting.

      DISPLAY_MODES = {
        reset_all: 0,
        bold: 1,
        dim: 2,
        underlined: 4,
        blink: 5,
        reverse: 7,
        hidden: 8,
        reset_bold: 21,
        reset_dim: 22,
        reset_underlined: 24,
        reset_blink: 25,
        reset_reverse: 27,
        reset_hidden: 28
      }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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