Skip to content

Conversation

@jeanlaurent
Copy link
Member

@jeanlaurent jeanlaurent commented Dec 5, 2025

Improves TUI output formatting for directory listing and multi-file read operations
with specialized display components.

  • List Directory: Shows concise summaries ("found 3 files and 2 directories") instead
    of full output, with path shortening and truncation indicators
  • Read Multiple Files: Displays each file on a separate line with checkmarks and line
    counts, replacing verbose output

Examples:

Screenshot 2025-12-05 at 18 42 10 Screenshot 2025-12-05 at 18 41 21

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
@jeanlaurent jeanlaurent requested a review from a team as a code owner December 5, 2025 16:53
}

// If path is ".", return current directory name or "."
if path == "." {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very useful :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@rumpl
Copy link
Member

rumpl commented Dec 5, 2025

Could we make the “read multiple files” blue like the other tools?

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
@rumpl rumpl merged commit afd41c3 into docker:main Dec 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants