Sha256: 33a267a6533efb97874d1cbeef036ae985b264ba31989639cde34539a362796c

Contents?: true

Size: 980 Bytes

Versions: 3

Compression:

Stored size: 980 Bytes

Contents

require 'jazz_fingers/version'
require 'jazz_fingers/railtie' if defined?(Rails)
require 'active_support'
require 'readline'

module JazzFingers

  ### Options ###

  # Color the prompt?
  #
  # A different setting than Pry.color since some may like colored output, but a
  # plain prompt.
  #
  # Default: 'true' for GNU readline or rb-readline which correctly count line
  # widths with color codes when using \001 and \002 hints. 'false' for
  # libedit-based wrapper (standard on OS X unless ruby is explicitly compiled
  # otherwise).
  #
  mattr_accessor :colored_prompt
  self.colored_prompt = (Readline::VERSION !~ /EditLine/)

  # Separator between application name and input in the prompt.
  #
  # Default: right angle quote, or '>' when using rb-readline which doesn't
  # handle mixed encodings well.
  #
  mattr_accessor :prompt_separator
  self.prompt_separator = defined?(RbReadline) ? '>' : "\u00BB"

  ### Internal methods ###

  mattr_accessor :_hirb_output
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jazz_fingers-1.0.0 lib/jazz_fingers.rb
jazz_fingers-0.5.5 lib/jazz_fingers.rb
jazz_fingers-0.5.4 lib/jazz_fingers.rb