Skip to content

Commit

Permalink
Move API UI files to api dir, keep imports equal
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Feb 24, 2024
1 parent e04e7d8 commit 62dfcb9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions inquire/src/ui/api/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
mod color;
mod key;
mod render_config;
mod style;

pub use color::*;
pub(crate) use key::*;
pub use render_config::*;
pub use style::*;
File renamed without changes.
File renamed without changes.
10 changes: 2 additions & 8 deletions inquire/src/ui/mod.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
//! UI-related definitions for rendered content.

mod api;
mod backend;
mod color;
pub(crate) mod dimension;
mod frame_renderer;
mod input_reader;
mod key;
mod render_config;
mod style;

pub(crate) use backend::*;
pub(crate) use input_reader::*;
pub(crate) use key::*;

pub use color::Color;
pub use render_config::*;
pub use style::{Attributes, StyleSheet, Styled};
pub use api::*;

0 comments on commit 62dfcb9

Please sign in to comment.