kibi/lib.rs
1//! # Kibi
2//!
3//! Kibi is a text editor in ≤1024 lines of code.
4
5pub use crate::{config::Config, editor::Editor, error::Error};
6
7pub mod ansi_escape;
8mod config;
9mod editor;
10mod error;
11mod row;
12mod syntax;
13mod terminal;
14
15#[cfg_attr(windows, path = "windows.rs")]
16#[cfg_attr(unix, path = "unix.rs")]
17#[cfg_attr(target_os = "wasi", path = "wasi.rs")]
18mod sys;
19
20#[cfg(any(unix, target_os = "wasi"))] mod xdg;