Skip to content

Commit c813179

Browse files
committed
Update table helps
1 parent 05a89b8 commit c813179

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/view/table.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ fn build_helps(
322322
BuildHelpsItem::new(UserEvent::GoToBottom, "Select last row"),
323323
BuildHelpsItem::new(UserEvent::GoToLeft, "Select first column"),
324324
BuildHelpsItem::new(UserEvent::GoToRight, "Select last column"),
325+
BuildHelpsItem::new(UserEvent::ScrollDown, "Scroll down"),
326+
BuildHelpsItem::new(UserEvent::ScrollUp, "Scroll up"),
325327
BuildHelpsItem::new(UserEvent::Confirm, "Open selected item"),
326328
BuildHelpsItem::new(UserEvent::QuickFilter, "Filter items"),
327329
BuildHelpsItem::new(UserEvent::Expand, "Expand selected attribute"),
@@ -345,6 +347,8 @@ fn build_helps(
345347
BuildHelpsItem::new(UserEvent::GoToBottom, "Select last row"),
346348
BuildHelpsItem::new(UserEvent::GoToLeft, "Select first column"),
347349
BuildHelpsItem::new(UserEvent::GoToRight, "Select last column"),
350+
BuildHelpsItem::new(UserEvent::ScrollDown, "Scroll down"),
351+
BuildHelpsItem::new(UserEvent::ScrollUp, "Scroll up"),
348352
BuildHelpsItem::new(UserEvent::Confirm, "Open selected item"),
349353
BuildHelpsItem::new(UserEvent::Reset, "Clear filter"),
350354
BuildHelpsItem::new(UserEvent::Expand, "Expand selected attribute"),
@@ -392,6 +396,7 @@ fn build_short_helps(
392396
BuildShortHelpsItem::group(vec![UserEvent::Down, UserEvent::Up], "Select row", 6),
393397
BuildShortHelpsItem::group(vec![UserEvent::Left, UserEvent::Right], "Select col", 7),
394398
BuildShortHelpsItem::group(vec![UserEvent::GoToTop, UserEvent::GoToBottom], "Top/Bottom", 11),
399+
BuildShortHelpsItem::group(vec![UserEvent::ScrollDown, UserEvent::ScrollUp], "Scroll", 12),
395400
BuildShortHelpsItem::single(UserEvent::Confirm, "Open", 2),
396401
BuildShortHelpsItem::single(UserEvent::QuickFilter, "Filter", 5),
397402
BuildShortHelpsItem::single(UserEvent::Expand, "Expand", 4),
@@ -408,6 +413,7 @@ fn build_short_helps(
408413
BuildShortHelpsItem::group(vec![UserEvent::Down, UserEvent::Up], "Select row", 6),
409414
BuildShortHelpsItem::group(vec![UserEvent::Left, UserEvent::Right], "Select col", 7),
410415
BuildShortHelpsItem::group(vec![UserEvent::GoToTop, UserEvent::GoToBottom], "Top/Bottom", 11),
416+
BuildShortHelpsItem::group(vec![UserEvent::ScrollDown, UserEvent::ScrollUp], "Scroll", 12),
411417
BuildShortHelpsItem::single(UserEvent::Confirm, "Open", 2),
412418
BuildShortHelpsItem::single(UserEvent::Reset, "Clear filter", 5),
413419
BuildShortHelpsItem::single(UserEvent::Expand, "Expand", 4),

0 commit comments

Comments
 (0)