mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 15:55:50 +03:00
re-export crossterm::style::Color for custom prompt implementations (#569)
This commit is contained in:
parent
61c6409fb7
commit
f6b23420e2
@ -289,6 +289,9 @@ pub use utils::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Reexport the key types to be independent from an explicit crossterm dependency.
|
// 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")]
|
#[cfg(feature = "external_printer")]
|
||||||
pub use external_printer::ExternalPrinter;
|
pub use external_printer::ExternalPrinter;
|
||||||
|
Loading…
Reference in New Issue
Block a user