Changeset 3830:bb5ea3ace922

Show
Ignore:
Timestamp:
2005-01-27 10:46:52 (4 years ago)
Author:
Bill Nottingham <notting@…>
Branch:
HEAD
Message:

Support for the "default" color in Slang.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • color.c

    r3480 r3830  
    156156static char *get_color_name (char *dest, size_t destlen, int val) 
    157157{ 
    158   static char * missing[3] = {"brown", "lightgray", ""}; 
     158  static char * missing[3] = {"brown", "lightgray", "default"}; 
    159159  int i; 
    160160 
  • main.c

    r3810 r3830  
    452452  SLtt_Ignore_Beep = 1; /* don't do that #*$@^! annoying visual beep! */ 
    453453  SLsmg_Display_Eight_Bit = 128; /* characters above this are printable */ 
     454  SLtt_set_color(0, NULL, "default", "default"); 
    454455#else 
    455456  /* should come before initscr() so that ncurses 4.2 doesn't try to install