aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client/search.rs
diff options
context:
space:
mode:
authorJakub Panek <me@panekj.dev>2022-04-28 17:53:59 +0000
committerGitHub <noreply@github.com>2022-04-28 18:53:59 +0100
commit93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b (patch)
treec910b1bb047a540c361f6cb6f8e403f1b83b925a /src/command/client/search.rs
parentBump axum from 0.5.3 to 0.5.4 (#355) (diff)
downloadatuin-93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b.zip
ignore JetBrains IDEs, tidy-up imports (#348)
* ignore JB IDEs * tidy-up imports * add rustfmt config
Diffstat (limited to '')
-rw-r--r--src/command/client/search.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/command/client/search.rs b/src/command/client/search.rs
index 45b1f978..21f07716 100644
--- a/src/command/client/search.rs
+++ b/src/command/client/search.rs
@@ -1,8 +1,8 @@
+use std::{env, io::stdout, ops::Sub, time::Duration};
+
use chrono::Utc;
use clap::Parser;
use eyre::Result;
-use std::env;
-use std::{io::stdout, ops::Sub, time::Duration};
use termion::{event::Key, input::MouseTerminal, raw::IntoRawMode, screen::AlternateScreen};
use tui::{
backend::{Backend, TermionBackend},
@@ -22,8 +22,10 @@ use atuin_client::{
settings::{FilterMode, SearchMode, Settings},
};
-use super::event::{Event, Events};
-use super::history::ListMode;
+use super::{
+ event::{Event, Events},
+ history::ListMode,
+};
const VERSION: &str = env!("CARGO_PKG_VERSION");