Home
last modified time | relevance | path

Searched refs:color (Results 1 – 9 of 9) sorted by relevance

/redis-3.2.3/deps/lua/doc/
H A Dlua.css2 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 Dmanual.css15 color: gray ;
23 background-color: #E0E0FF ;
/redis-3.2.3/deps/linenoise/
H A Dexample.c14 char *hints(const char *buf, int *color, int *bold) { in hints() argument
16 *color = 35; in hints()
H A DREADME.markdown169 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 Dlinenoise.h52 typedef char*(linenoiseHintsCallback)(const char *, int *color, int *bold);
H A Dlinenoise.c479 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 Dutil.tcl342 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 Dredis-cli.c441 *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 Dredis-trib.rb37 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