Home
last modified time | relevance | path

Searched refs:bold (Results 1 – 4 of 4) sorted by relevance

/third_party/ulib/linenoise/
A Dexample.c14 char *hints(const char *buf, int *color, int *bold) { in hints() argument
17 *bold = 0; in hints()
A DREADME.markdown170 to the color the user is typing, and can also be bold.
182 char *hints(const char *buf, int *color, int *bold) {
185 *bold = 0;
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,
207 non-bold text is printed.
A Dlinenoise.c526 int color = -1, bold = 0; local
527 char *hint = hintsCallback(l->buf,&color,&bold);
532 if (bold == 1 && color == -1) color = 37;
533 if (color != -1 || bold != 0)
534 snprintf(seq,64,"\033[%d;%d;49m",bold,color);
537 if (color != -1 || bold != 0)
/third_party/ulib/linenoise/include/linenoise/
A Dlinenoise.h54 typedef char*(linenoiseHintsCallback)(const char *, int *color, int *bold);

Completed in 8 milliseconds