From f6b23420e21f1a0657913778e6556432d15ab694 Mon Sep 17 00:00:00 2001 From: Justin <52692661+xiuxiu62@users.noreply.github.com> Date: Tue, 18 Apr 2023 05:14:16 -0700 Subject: [PATCH] re-export crossterm::style::Color for custom prompt implementations (#569) --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c1c3b87..2552735 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;