Skip to content

Tree sticky scroll: Support compact sticky nodes #199539

@Tyriar

Description

@Tyriar

Testing #199153

For this dir structure:

image

We see this:

image

But that omits likely the most important parts which are a, b, c, d, e. So this is what I expect in this case where the maximum is hit:

image

I don't think the editor does this either (cc @aiday-mar), but some prior art in the terminal is that it prioritizes the most important parts of the prompt to show. Say you have this prompt:

1
2 <cwd>
3 $ <multi-line
4 command>

Lines will be prioritized by command input first, remaining prompt second and empty lines on either end will be trimmed, resulting in 3 > 4 > 2.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions