Displays the keybindings available due to the Shell class
- Returns
- always true
- Todo:
- Update output
Definition at line 115 of file ReadlineColor.cc.
References kBold, kReset, and kUnderline.
Referenced by Shell::PrintKeyBindings(), and Console::PrintKeyBindings().
118 out <<
" " <<
kUnderline <<
"Key bindings:" << endl << endl;;
119 out <<
" Default key-bindings are identical with your bash." << endl;
121 out <<
kBold <<
" Page-up " <<
kReset <<
"Search backward in history" << endl;
122 out <<
kBold <<
" Page-dn " <<
kReset <<
"Search forward in history" << endl;
123 out <<
kBold <<
" Ctrl-left " <<
kReset <<
"One word backward" << endl;
124 out <<
kBold <<
" Ctrl-right " <<
kReset <<
"One word forward" << endl;
125 out <<
kBold <<
" Home " <<
kReset <<
"Beginning of line" << endl;
126 out <<
kBold <<
" End " <<
kReset <<
"End of line" << endl;
127 out <<
kBold <<
" Ctrl-d " <<
kReset <<
"Quit" << endl;
128 out <<
kBold <<
" Ctrl-y " <<
kReset <<
"Delete line" << endl;
129 out <<
kBold <<
" Alt-end/Ctrl-k " <<
kReset <<
"Delete until the end of the line" << endl;