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

@@ -156,6 +156,7 @@ fn drainMailbox(self: *Thread) !void {
},
.resize => |v| self.handleResize(v),
.clear_screen => |v| try self.impl.clearScreen(v.history),
.scroll_viewport => |v| try self.impl.scrollViewport(v),
.jump_to_prompt => |v| try self.impl.jumpToPrompt(v),
.write_small => |v| try self.impl.queueWrite(v.data[0..v.len]),
.write_stable => |v| try self.impl.queueWrite(v),