diff options
Diffstat (limited to 'src/commands/flat.rs')
-rw-r--r-- | src/commands/flat.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/commands/flat.rs b/src/commands/flat.rs index c0e9dfb..b9d0a64 100644 --- a/src/commands/flat.rs +++ b/src/commands/flat.rs @@ -79,7 +79,14 @@ pub fn flatten(depth: usize, context: &mut AppContext) -> JoshutoResult { contents.sort_by(|f1, f2| sort_options.compare(f1, f2)); let metadata = JoshutoMetadata::from(path.as_path())?; - let dirlist = JoshutoDirList::new(path.clone(), contents, index, viewport_index, metadata); + let dirlist = JoshutoDirList::new( + path.clone(), + contents, + index, + viewport_index, + None, + metadata, + ); history.insert(path, dirlist); Ok(()) |