From 7e71832d100fbb754795c50245ddb5f69b8b7435 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sat, 25 Sep 2021 20:28:41 -0400 Subject: bug: remove incorrect shortcut from docs/help (#589) Removes an incorrect shortcut. No idea when that got there. --- docs/content/usage/widgets/process.md | 1 - src/constants.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/content/usage/widgets/process.md b/docs/content/usage/widgets/process.md index c5f9c89b..ee21188f 100644 --- a/docs/content/usage/widgets/process.md +++ b/docs/content/usage/widgets/process.md @@ -198,7 +198,6 @@ Note that key bindings are generally case-sensitive. | ------------------------------------- | -------------------------------------------- | | ++left++
++h++
++alt+h++ | Moves the cursor left | | ++right++
++l++
++alt+l++ | Moves the cursor right | -| ++tab++ | Toggle between searching by PID or name | | ++esc++ | Close the search widget (retains the filter) | | ++ctrl+a++ | Skip to the start of the search query | | ++ctrl+e++ | Skip to the end of the search query | diff --git a/src/constants.rs b/src/constants.rs index 2397e7b1..4464c16f 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -287,9 +287,8 @@ pub const PROCESS_HELP_TEXT: [&str; 15] = [ "click on header Sorts the entries by that column, click again to invert the sort", ]; -pub const SEARCH_HELP_TEXT: [&str; 49] = [ +pub const SEARCH_HELP_TEXT: [&str; 48] = [ "4 - Process search widget", - "Tab Toggle between searching for PID and name", "Esc Close the search widget (retains the filter)", "Ctrl-a Skip to the start of the search query", "Ctrl-e Skip to the end of the search query", -- cgit v1.2.3