aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorGokul Soumya2022-12-18 12:42:25 +0000
committerBlaž Hrastnik2023-01-18 05:19:32 +0000
commit7a76c6cbbaf851d63cb4ca4be07c5d4c67afbbb2 (patch)
tree9ca1b73281751f45174667bc784312ec5b6beddc /helix-term/src/ui
parent9aafcb2b9a743f0f6afa722184e96b8a672064ea (diff)
Use upstream implementation of table column calculation
Changed in https://github.com/fdehau/tui-rs/commit/a68e38e59e6735c0a99139303b1609669d2c38da.
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/picker.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index e2e72b6e..e00fe1f8 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -15,10 +15,7 @@ use tui::{
use fuzzy_matcher::skim::SkimMatcherV2 as Matcher;
use tui::widgets::Widget;
-use std::{
- cmp::{self, Ordering},
- time::Instant,
-};
+use std::cmp::{self, Ordering};
use std::{collections::HashMap, io::Read, path::PathBuf};
use crate::ui::{Prompt, PromptEvent};