summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
authorYves Biener <56591091+yves-biener@users.noreply.github.com>2023-01-24 13:51:11 +0100
committerGitHub <noreply@github.com>2023-01-24 21:51:11 +0900
commit650aeb12bed057572cb806e9324647dd35a05e98 (patch)
tree5da0d6d5176f2a9f457c630167d7eb11864c4d8c /zellij-utils/src/cli.rs
parentbeddfb77a8ef8a5b90db084ad8030d1168f77352 (diff)
feat: add ScrollToTop action (#2110)
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index 1d62e7d07..82c34eecd 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -216,6 +216,8 @@ pub enum CliAction {
ScrollDown,
/// Scroll down to bottom in focus pane.
ScrollToBottom,
+ /// Scroll up to top in focus pane.
+ ScrollToTop,
/// Scroll up one page in focus pane.
PageScrollUp,
/// Scroll down one page in focus pane.