summaryrefslogtreecommitdiffstats
path: root/src/tab.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-06 21:44:04 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-06 21:44:04 +0100
commita2f1aea562571defe922f0d6ce13220e0e4b9c3f (patch)
tree1f5dd3fa65afe65b427771962cc476ee50d7007a /src/tab.rs
parent052d527c5f179380f67078cf423c8ae855a7b52a (diff)
refactoring tree
Diffstat (limited to 'src/tab.rs')
-rw-r--r--src/tab.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab.rs b/src/tab.rs
index 1580507..2861f73 100644
--- a/src/tab.rs
+++ b/src/tab.rs
@@ -131,7 +131,7 @@ impl Tab {
if matches!(self.previous_mode, Mode::Tree) =>
{
self.completion
- .search_from_tree(&self.input.string(), &self.tree.paths())
+ .search_from_tree(&self.input.string(), &self.tree.filenames())
}
Mode::InputCompleted(InputCompleted::Command) => {
self.completion.command(&self.input.string())