helix-mods/helix-term/src/lib.rs

18 lines
317 B
Rust
Raw Normal View History

#[macro_use]
extern crate helix_view;
pub mod application;
pub mod args;
pub mod commands;
pub mod compositor;
pub mod config;
2021-06-28 14:48:38 +02:00
pub mod job;
pub mod keymap;
pub mod ui;
fn true_color() -> bool {
std::env::var("COLORTERM")
.map(|v| matches!(v.as_str(), "truecolor" | "24bit"))
.unwrap_or(false)
}