re-export crossterm::style::Color for custom prompt implementations (#569)

This commit is contained in:
Justin 2023-04-18 05:14:16 -07:00 committed by GitHub
parent 61c6409fb7
commit f6b23420e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;