kitty-remote-bindings 0.1.0

Bindings for Kitty Terminal's remote commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use async_trait::async_trait;

use crate::{
    model::LsOutput,
    remote_command::{LsOptions, SendTextOptions},
    Result,
};

#[async_trait]
pub trait KittyTerminal {
    async fn ls(&self, options: &LsOptions) -> Result<LsOutput>;
    async fn send_text(&self, options: &SendTextOptions, args: &[&str]) -> Result<()>;
}