ranger.gui.color
index
/home/hut/work/ranger/ranger/gui/color.py

Contains abbreviations to curses' color/attribute constants.

 
Modules
       
curses

 
Functions
       
get_color(fg, bg)
Returns the color pair for the given fg/bg combination.

 
Data
        COLOR_PAIRS = {10: 0}
black = 0
blue = 4
bold = 2097152
cyan = 6
default = -1
default_colors = (-1, -1, 0)
green = 2
invisible = 8388608
magenta = 5
normal = 0
red = 1
reverse = 262144
underline = 131072
white = 7
yellow = 3