]> git.cworth.org Git - sup/commit
sup color customization
authorLionel Ott <white.magic@gmx.de>
Sun, 25 May 2008 06:59:49 +0000 (08:59 +0200)
committerRubyist <rubyist@south.(none)>
Tue, 3 Jun 2008 22:26:03 +0000 (15:26 -0700)
commitcdd52ebb78534460115e08e8bbd9d8eb2796e8eb
tree461b788b977edd16b90f94dcff7ed0b7893cb5d5
parentf4adc029a972c56d22def1e903dae7d7be89e0b0
sup color customization

- config file is located under $SUP_HOME/config.yaml and has the following
  structure

  :colors:
    :symbol_name:
      :fg: <color>
      :bg: <color>
      :attrs:
      - <attribute>

  <color> and <attribute> can take the standard values available in the curses
  environment.
  There may be multiple attributes, but they need not be present.
- if there is an error in the user provided config file a default value will
  be used (stored in the Colormap class)
bin/sup
lib/sup.rb
lib/sup/colormap.rb