Skip to content

Commit

Permalink
re-export crossterm::style::Color for custom prompt implementations (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiuxiu62 committed Apr 18, 2023
1 parent 61c6409 commit f6b2342
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ pub use utils::{
};

// Reexport the key types to be independent from an explicit crossterm dependency.
pub use crossterm::event::{KeyCode, KeyModifiers};
pub use crossterm::{
event::{KeyCode, KeyModifiers},
style::Color,
};
#[cfg(feature = "external_printer")]
pub use external_printer::ExternalPrinter;

0 comments on commit f6b2342

Please sign in to comment.