aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/prompt.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-18 08:47:10 +0000
committerBlaž Hrastnik2021-06-20 07:38:58 +0000
commite9a3245aae0e4380201cffcff7ebe06c129823c5 (patch)
tree1ec532455ab854ce52e674b2568efd77be9c6ccf /helix-term/src/ui/prompt.rs
parent9275021497fc13938317b681319ba571c8d5f478 (diff)
Re-export unicode crates from helix_core
Diffstat (limited to 'helix-term/src/ui/prompt.rs')
-rw-r--r--helix-term/src/ui/prompt.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index d1413209..22158e78 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -6,8 +6,10 @@ use helix_view::{Editor, Theme};
use std::{borrow::Cow, ops::RangeFrom};
use tui::terminal::CursorKind;
-use unicode_segmentation::{GraphemeCursor, GraphemeIncomplete};
-use unicode_width::UnicodeWidthStr;
+use helix_core::{
+ unicode::segmentation::{GraphemeCursor, GraphemeIncomplete},
+ unicode::width::UnicodeWidthStr,
+};
pub type Completion = (RangeFrom<usize>, Cow<'static, str>);