summaryrefslogtreecommitdiffstats
path: root/src/commands/cursor_move.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-24 11:23:51 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-24 11:23:51 -0400
commitc3919c91a866a7fd520d7dcb8b99c7d4aafbbb93 (patch)
treea0d62acad7cd433829702189eff8cbb26813aff0 /src/commands/cursor_move.rs
parentb9425115b6d8995acdd3ccb9ccec77adf650d4c8 (diff)
tabs now open in home directory
- fix issue where after a copy/paste is finised, the directory list view is not updated
Diffstat (limited to 'src/commands/cursor_move.rs')
-rw-r--r--src/commands/cursor_move.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cursor_move.rs b/src/commands/cursor_move.rs
index 467377f..d202901 100644
--- a/src/commands/cursor_move.rs
+++ b/src/commands/cursor_move.rs
@@ -29,13 +29,13 @@ impl CursorMove {
}
curr_tab.refresh_curr(&view.mid_win, context.config_t.scroll_offset);
- curr_tab.refresh_file_status(&view.bot_win);
curr_tab.refresh_path_status(
&view.top_win,
&context.username,
&context.hostname,
context.config_t.tilde_in_titlebar,
);
+ curr_tab.refresh_file_status(&view.bot_win);
preview::preview_file(curr_tab, &view, &context.config_t);
ncurses::doupdate();
}