diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-20 19:54:37 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-20 19:54:37 -0500 |
commit | c7497dd187e9729aef2630f22b481d02864ad3bb (patch) | |
tree | d48a7034209d27c4e3d686764d431466044d5bc7 /src/commands/rename_file.rs | |
parent | f75182734a5bec0987b424aff28e2ed0acf2fe38 (diff) |
cargo fmt
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r-- | src/commands/rename_file.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs index 24b3e96..53fa983 100644 --- a/src/commands/rename_file.rs +++ b/src/commands/rename_file.rs @@ -107,7 +107,11 @@ impl JoshutoRunnable for RenameFile { if let Some(file_name) = file_name { if let Some(path) = path { self.rename_file(&path, context, file_name); - preview::preview_file(&mut context.tabs[context.curr_tab_index], &context.views, &context.config_t); + preview::preview_file( + &mut context.tabs[context.curr_tab_index], + &context.views, + &context.config_t, + ); ncurses::doupdate(); } } |