Displays the available ncurses attributes, like color.
- Returns
- always true
Definition at line 75 of file ReadlineColor.cc.
References kAltCharset, kBlink, kBlue, kBold, kCyan, kDefault, kDim, kGreen, kHighlight, kInvisible, kMagenta, kNormal, kProtect, kRed, kReset, kReverse, kUnderline, kWhite, and kYellow.
Referenced by Process().
78 out <<
" Attributes:" << endl;
79 out <<
" " <<
kReset <<
"kReset" << endl;
80 out <<
" " <<
kNormal <<
"kNormal" << endl;
81 out <<
" " <<
kHighlight <<
"kHighlight" << endl;
82 out <<
" " <<
kReverse <<
"kReverse" << endl;
83 out <<
" " <<
kUnderline <<
"kUnderline" << endl;
84 out <<
" " <<
kBlink <<
"kBlink" << endl;
85 out <<
" " <<
kDim <<
"kDim" << endl;
86 out <<
" " <<
kBold <<
"kBold" << endl;
87 out <<
" " <<
kProtect <<
"kProtect" << endl;
88 out <<
" " <<
kInvisible <<
"kInvisible" << endl;
91 out <<
" Colors:" << endl;
92 out <<
" " <<
kDefault <<
"kDefault " <<
kBold <<
"+ kBold" << endl;
93 out <<
" " <<
kRed <<
"kRed " <<
kBold <<
"+ kBold" << endl;
94 out <<
" " <<
kGreen <<
"kGreen " <<
kBold <<
"+ kBold" << endl;
95 out <<
" " <<
kYellow <<
"kYellow " <<
kBold <<
"+ kBold" << endl;
96 out <<
" " <<
kBlue <<
"kBlue " <<
kBold <<
"+ kBold" << endl;
97 out <<
" " <<
kMagenta <<
"kMagenta " <<
kBold <<
"+ kBold" << endl;
98 out <<
" " <<
kCyan <<
"kCyan " <<
kBold <<
"+ kBold" << endl;
99 out <<
" " <<
kWhite <<
"kWhite " <<
kBold <<
"+ kBold" << endl;
Set attribute Alternative charset.