input: encode keyboard events and send them to the shell

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6ee2acd5f74575f4bcc2f41417207c626a6a6964
This commit is contained in:
raf 2026-06-24 12:42:17 +03:00
commit b2d656e7bd
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
5 changed files with 322 additions and 8 deletions

View file

@ -133,6 +133,7 @@ impl Term {
}
}
(false, 4) => self.grid.set_insert(on),
(true, 1) => self.grid.set_app_cursor(on),
(true, 25) => self.grid.set_cursor_visible(on),
// App-cursor/bracketed-paste/mouse/sync modes affect input and
// rendering, which arrive with the keyboard and renderer.