Merge pull request #100 from jmillan/clearcalls_by_Ctrl-L

Keybindings: add Ctrl-L binding to 'clearcalls' action
This commit is contained in:
Kaian 2016-02-18 16:48:51 +01:00
commit 2ade54c93f
2 changed files with 2 additions and 2 deletions

View File

@ -800,7 +800,7 @@ call_list_help(PANEL *panel)
mvwprintw(help_win, 14, 2, "F2/S Save captured packages to a file");
mvwprintw(help_win, 15, 2, "F3// Display filtering (match string case insensitive)");
mvwprintw(help_win, 16, 2, "F4/X Show selected call-flow (Extended) if available");
mvwprintw(help_win, 17, 2, "F5 Clear call list (can not be undone!)");
mvwprintw(help_win, 17, 2, "F5/Ctrl-L Clear call list (can not be undone!)");
mvwprintw(help_win, 18, 2, "F6/R Show selected call messages in raw mode");
mvwprintw(help_win, 19, 2, "F7/F Show filter options");
mvwprintw(help_win, 20, 2, "F8/c Turn on/off window colours");

View File

@ -54,7 +54,7 @@ key_binding_t bindings[ACTION_SENTINEL] = {
{ ACTION_NEXT_FIELD, "nfield", { KEY_DOWN, KEY_TAB }, 2 },
{ ACTION_RESIZE_SCREEN, "", { KEY_RESIZE }, 1 },
{ ACTION_CLEAR, "clear", { KEY_CTRL('U'), KEY_CTRL('W')}, 2 },
{ ACTION_CLEAR_CALLS, "clearcalls", { KEY_F(5) }, 1 },
{ ACTION_CLEAR_CALLS, "clearcalls", { KEY_F(5), KEY_CTRL('L')}, 2 },
{ ACTION_TOGGLE_SYNTAX, "togglesyntax", { KEY_F(8), 'C' }, 2 },
{ ACTION_CYCLE_COLOR, "colormode", { 'c' }, 1 },
{ ACTION_COMPRESS, "compress", { 's' }, 1 },