tastty-core 0.1.0

Sans-IO core of the tastty terminal session library: VT parser, screen buffer, and byte encoders.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Wire-byte encoders for keyboard and mouse input events.
//!
//! Submodule [`legacy`] handles xterm-style modifier-as-parameter CSI
//! sequences; [`kitty`] handles the [Kitty keyboard protocol] CSI u format;
//! [`mouse`] handles X10 and SGR mouse events.
//!
//! [Kitty keyboard protocol]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/

mod kitty;
mod legacy;
mod mouse;

pub(crate) use kitty::key_to_bytes_kitty;
pub(crate) use legacy::key_to_bytes;
pub(crate) use mouse::{CoordEncoding, mouse_to_bytes};