diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-30 13:01:32 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-30 13:01:52 +0300 |
| commit | 741fbbe8b30774247f8a68831d8df469672e1947 (patch) | |
| tree | 608afe0a8415ea1a3ee2035f809795dc09809dfc /src/input/mod.rs | |
| parent | ca14500717864b1c9b1885cbbc6a451a19b9caf8 (diff) | |
refactor: split terminal keyboard protocol module
Diffstat (limited to 'src/input/mod.rs')
| -rw-r--r-- | src/input/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs new file mode 100644 index 00000000..de4330a4 --- /dev/null +++ b/src/input/mod.rs @@ -0,0 +1,10 @@ +mod encode; +mod model; +mod parse; + +pub use encode::{encode_key, encode_terminal_key}; +pub use model::{KeyboardProtocol, TerminalKey}; +pub use parse::parse_terminal_key_sequence; + +#[cfg(test)] +mod tests; |
