Searched refs:color (Results 1 – 9 of 9) sorted by relevance
| /redis-3.2.3/deps/lua/doc/ |
| H A D | lua.css | 2 color: #000000 ; 3 background-color: #FFFFFF ; 22 background-color: #E0E0FF ; 36 color: #000080 ; 37 background-color: inherit ; 42 background-color: inherit ; 47 color: #000080 ; 48 background-color: #E0E0FF ; 52 color: #FF0000 ; 58 color: #a0a0a0 ; [all …]
|
| H A D | manual.css | 15 color: gray ; 23 background-color: #E0E0FF ;
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | example.c | 14 char *hints(const char *buf, int *color, int *bold) { in hints() argument 16 *color = 35; in hints()
|
| H A D | README.markdown | 169 may be useful. The hints can be displayed using a different color compared 170 to the color the user is typing, and can also be bold. 182 char *hints(const char *buf, int *color, int *bold) { 184 *color = 35; 204 As you can see in the example above, a `color` (in xterm color terminal codes) 205 can be provided together with a `bold` attribute. If no color is set, the 206 current terminal foreground color is used. If no bold attribute is set,
|
| H A D | linenoise.h | 52 typedef char*(linenoiseHintsCallback)(const char *, int *color, int *bold);
|
| H A D | linenoise.c | 479 int color = -1, bold = 0; in refreshShowHints() local 480 char *hint = hintsCallback(l->buf,&color,&bold); in refreshShowHints() 485 if (bold == 1 && color == -1) color = 37; in refreshShowHints() 486 if (color != -1 || bold != 0) in refreshShowHints() 487 snprintf(seq,64,"\033[%d;%d;49m",bold,color); in refreshShowHints() 490 if (color != -1 || bold != 0) in refreshShowHints()
|
| /redis-3.2.3/tests/support/ |
| H A D | util.tcl | 342 proc colorstr {color str} { 345 if {[string range $color 0 4] eq {bold-}} { 347 set color [string range $color 5 end] 349 switch $color {
|
| /redis-3.2.3/src/ |
| H A D | redis-cli.c | 441 *color = 90; in hintsCallback() 628 int bold = strstr(color,"bold") != NULL; in sdscatcolor() 630 if (strstr(color,"red")) ccode = 31; in sdscatcolor() 631 else if (strstr(color,"red")) ccode = 31; in sdscatcolor() 648 char *color = "white"; in sdsCatColorizedLdbReply() local 650 if (strstr(s,"<debug>")) color = "bold"; in sdsCatColorizedLdbReply() 651 if (strstr(s,"<redis>")) color = "green"; in sdsCatColorizedLdbReply() 652 if (strstr(s,"<reply>")) color = "cyan"; in sdsCatColorizedLdbReply() 653 if (strstr(s,"<error>")) color = "red"; in sdsCatColorizedLdbReply() 654 if (strstr(s,"<hint>")) color = "bold"; in sdsCatColorizedLdbReply() [all …]
|
| H A D | redis-trib.rb | 37 color="29;1" 39 color="31;1" 41 color="31;1" 43 color="32" 45 color="33" 47 color=nil 50 color = nil if ENV['TERM'] != "xterm" 51 print "\033[#{color}m" if color 53 print "\033[0m" if color
|