diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-29 23:06:38 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-29 23:07:27 -0400 |
commit | 5980d762dba38b003dbe54506cdd58ee85f97c8c (patch) | |
tree | 28e07e112586b73e1de426f7ae34c8c2afc68fdb /src/commands/parent_directory.rs | |
parent | 5d8525a9cc8a61e8e66a92f66132ad11ce112ff7 (diff) |
move hostname and username out of Context and into a static global
Diffstat (limited to 'src/commands/parent_directory.rs')
-rw-r--r-- | src/commands/parent_directory.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/commands/parent_directory.rs b/src/commands/parent_directory.rs index 83ada54..50de924 100644 --- a/src/commands/parent_directory.rs +++ b/src/commands/parent_directory.rs @@ -34,12 +34,7 @@ impl ParentDirectory { .history .insert(new_curr_list.path.clone(), new_curr_list); - curr_tab.refresh( - view, - &context.config_t, - &context.username, - &context.hostname, - ); + curr_tab.refresh(view, &context.config_t); ncurses::doupdate(); Ok(()) } |