2020-12-13 05:35:30 +01:00
|
|
|
mod editor;
|
|
|
|
mod prompt;
|
|
|
|
|
|
|
|
pub use editor::EditorView;
|
2020-12-15 11:29:56 +01:00
|
|
|
pub use prompt::{Prompt, PromptEvent};
|
2020-12-13 05:35:30 +01:00
|
|
|
|
|
|
|
pub use tui::layout::Rect;
|
|
|
|
pub use tui::style::{Color, Modifier, Style};
|
|
|
|
|
|
|
|
// TODO: temp
|
|
|
|
#[inline(always)]
|
|
|
|
pub fn text_color() -> Style {
|
|
|
|
Style::default().fg(Color::Rgb(219, 191, 239)) // lilac
|
|
|
|
}
|