t-rec 0.5.0

Blazingly fast terminal recorder that generates animated gif images for the web written in rust.
1
2
3
4
5
6
7
8
9
10
mod x11_api;

use crate::{PlatformApi, Result};
use x11_api::X11Api;

pub fn setup() -> Result<Box<dyn PlatformApi>> {
    Ok(Box::new(X11Api::new()?))
}

pub const DEFAULT_SHELL: &str = "/bin/sh";