diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-02-12 21:29:24 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-02-12 21:29:24 +0100 |
commit | a48bcbfc070c9c489a81a908d3a583e2d6b72eb7 (patch) | |
tree | 6d080b8fb8c28d3a8ec95d4358c7bfd322fff879 /src/tree.rs | |
parent | c2a625817b93bbe0e63173ab378da56945dd311e (diff) |
documentation
Diffstat (limited to 'src/tree.rs')
-rw-r--r-- | src/tree.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tree.rs b/src/tree.rs index c104704..1f50fba 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -429,7 +429,10 @@ impl Tree { /// We navigate into the tree and format every element into a pair : /// - a prefix, wich is a string made of glyphs displaying the tree, /// - a colored string to be colored relatively to the file type. - /// Since we use the same colors everywhere, it's + /// This method has to parse all the content until the bottom of screen + /// is reached. There's no way atm to avoid parsing the first lines + /// since the "prefix" (straight lines at left of screen) can reach + /// the whole screen. pub fn into_navigable_content( &mut self, colors: &Colors, |