crossterm-keybind 0.4.2

A crossplatform terminal library for keybinds
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("can not init keybind config more than once")]
    ConfigDoubleInitError,
    #[error("can not init keybind config with the default keybindings")]
    DefaultConfigError(String),
    #[error("can not read keybind config")]
    ReadConfigError(#[from] std::io::Error),
    #[error("can not load keybind config")]
    LoadConfigError(String),
}