Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/ui/mod.rs')
| -rw-r--r-- | helix-view/src/ui/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-view/src/ui/mod.rs b/helix-view/src/ui/mod.rs index 0105175e..0d10a1e9 100644 --- a/helix-view/src/ui/mod.rs +++ b/helix-view/src/ui/mod.rs @@ -1,22 +1,28 @@ +#[cfg(feature = "term")] mod completion; pub(crate) mod editor; mod markdown; +#[cfg(feature = "term")] pub mod menu; pub mod overlay; mod picker; mod popup; mod prompt; mod spinner; +#[cfg(feature = "term")] mod text; +#[cfg(feature = "term")] pub use completion::Completion; pub use editor::EditorView; pub use markdown::Markdown; +#[cfg(feature = "term")] pub use menu::Menu; pub use picker::{FileLocation, FilePicker, Picker}; pub use popup::Popup; pub use prompt::{Prompt, PromptEvent}; pub use spinner::{ProgressSpinners, Spinner}; +#[cfg(feature = "term")] pub use text::Text; use crate::{Document, Editor, View}; |