on 6c11708 help sign in
22 lines 391 B history raw
1#[macro_use]
2extern crate helix_view;
4pub mod application;
5pub mod args;
6pub mod commands;
7pub mod compositor;
8pub mod config;
9pub mod job;
10pub mod keymap;
11pub mod ui;
13#[cfg(not(windows))]
14fn true_color() -> bool {
15 std::env::var("COLORTERM")
16 .map(|v| matches!(v.as_str(), "truecolor" | "24bit"))
17 .unwrap_or(false)
19#[cfg(windows)]
20fn true_color() -> bool {
21 true