Changeset 3830:bb5ea3ace922
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r3480
|
r3830
|
|
| 156 | 156 | static char *get_color_name (char *dest, size_t destlen, int val) |
| 157 | 157 | { |
| 158 | | static char * missing[3] = {"brown", "lightgray", ""}; |
| | 158 | static char * missing[3] = {"brown", "lightgray", "default"}; |
| 159 | 159 | int i; |
| 160 | 160 | |
-
|
r3810
|
r3830
|
|
| 452 | 452 | SLtt_Ignore_Beep = 1; /* don't do that #*$@^! annoying visual beep! */ |
| 453 | 453 | SLsmg_Display_Eight_Bit = 128; /* characters above this are printable */ |
| | 454 | SLtt_set_color(0, NULL, "default", "default"); |
| 454 | 455 | #else |
| 455 | 456 | /* should come before initscr() so that ncurses 4.2 doesn't try to install |