1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mod executor;
mod kitty;
mod kitty_terminal;
pub mod model;
mod remote_command;

pub use kitty::Kitty;
pub use kitty_terminal::KittyTerminal;
pub use remote_command::LsOptions;
pub use remote_command::Matcher;
pub use remote_command::SendTextOptions;

pub type Result<T> = std::result::Result<T, Error>;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("I/O error")]
    IoError(#[from] std::io::Error),
    #[error("JsonDecoding error")]
    JsonDecodingError(#[from] serde_json::Error),
}