diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-07-19 21:33:08 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-07-19 22:18:23 -0400 |
commit | 0b8747eb37d6d943d90e15ed82858d99d1800425 (patch) | |
tree | 6cb910dc37343000296c2951e0f67ff269ee3efd /src/commands/tab_switch.rs | |
parent | 98e9665e59d7af0b2c002f0e6007578b3e90aa69 (diff) |
changed how commands are handled
- arguments no longer go through wordexp (still working on a good alternative)
other changes:
- changed update_contents to reload_contents
- opening files with mimetype entries are now moved from unix.rs
to mimetypes.rs
Diffstat (limited to 'src/commands/tab_switch.rs')
-rw-r--r-- | src/commands/tab_switch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/tab_switch.rs b/src/commands/tab_switch.rs index f1adaa3..8f4553d 100644 --- a/src/commands/tab_switch.rs +++ b/src/commands/tab_switch.rs @@ -32,7 +32,7 @@ impl TabSwitch { if curr_tab.curr_list.need_update() { curr_tab .curr_list - .update_contents(&context.config_t.sort_option)?; + .reload_contents(&context.config_t.sort_option)?; } curr_tab.refresh(view, &context.config_t); } |