tuigui 0.23.0

An easy-to-use, highly extensible, and speedy TUI library.
Documentation
macro_rules! include {
    ($name: ident, $feature: literal) => {
        #[cfg(feature = $feature)]
        mod $name;

        #[cfg(feature = $feature)]
        pub use $name::*;
    };
}

include!(p_owo_colors, "content_proc_owo_colors");

#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
/// Built-in content processor that doesn't rely on any external crates,
/// but is also only useful for the most basic of applications. This
/// content processor doesn't even support effects like reversing!
/// Use this when you only need to display basic text.
pub struct BareBonesContentProcessor {}

impl BareBonesContentProcessor {
    pub fn new() -> Self {
        Self {}
    }
}

impl crate::ContentProcessor<String> for BareBonesContentProcessor {
    fn process(&mut self, character: char, _style: &crate::Style) -> String {
        format!("{}", character)
    }
}