scroll top, bot, page up, page down binding actions

This commit is contained in:
Mitchell Hashimoto
2023-08-09 07:24:11 -07:00
parent 2c140b5a22
commit a8380e937d
7 changed files with 70 additions and 0 deletions

View File

@@ -177,6 +177,12 @@ pub const Action = union(enum) {
/// Clear the screen. This also clears all scrollback.
clear_screen: void,
/// Scroll the screen varying amounts.
scroll_to_top: void,
scroll_to_bottom: void,
scroll_page_up: void,
scroll_page_down: void,
/// Jump the viewport forward or back by prompt. Positive
/// number is the number of prompts to jump forward, negative
/// is backwards.