fix: Make key order consistent (#1539)

The order of the "arrow" keys is always left/down/up/right, make the
keybindings for the Scroll mode align with this ordering.
This commit is contained in:
har7an 2022-06-23 19:41:57 +00:00 committed by GitHub
parent 5d9c428294
commit 59d753dc2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -26,4 +26,4 @@ expression: last_snapshot
│ ││line19 00000000000000000000000000000000000000000000000000█│
└──────────────────────────────────────────────────────────┘└──────────────────────────────────────────────────────────┘
Ctrl + <g> LOCK  <p> PANE  <t> TAB  <n> RESIZE  <h> MOVE  <s> SCROLL  <o> SESSION  <q> QUIT 
<↓↑> Scroll / <PgUp/PgDn> Scroll / <u/d> Scroll / <e> Edit / <ENTER> Select pane
<↓↑> Scroll / <PgDn/PgUp> Scroll / <d/u> Scroll / <e> Edit / <ENTER> Select pane

View File

@ -53,8 +53,8 @@ pub fn get_mode_info(mode: InputMode, style: Style, capabilities: PluginCapabili
],
InputMode::Scroll => vec![
("↓↑".to_string(), "Scroll".to_string()),
("PgUp/PgDn".to_string(), "Scroll Page".to_string()),
("u/d".to_string(), "Scroll Half Page".to_string()),
("PgDn/PgUp".to_string(), "Scroll Page".to_string()),
("d/u".to_string(), "Scroll Half Page".to_string()),
(
"e".to_string(),
"Edit Scrollback in Default Editor".to_string(),