summaryrefslogtreecommitdiffstats
path: root/src/tree.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-02-12 21:29:24 +0100
committerqkzk <qu3nt1n@gmail.com>2023-02-12 21:29:24 +0100
commita48bcbfc070c9c489a81a908d3a583e2d6b72eb7 (patch)
tree6d080b8fb8c28d3a8ec95d4358c7bfd322fff879 /src/tree.rs
parentc2a625817b93bbe0e63173ab378da56945dd311e (diff)
documentation
Diffstat (limited to 'src/tree.rs')
-rw-r--r--src/tree.rs5
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,