Skip to content

Conversation

@majiayu000
Copy link

Summary

This PR fixes #836

Changes

  • ui/ui.go

When scanning for markdown files, glow now checks if symlinks point to
valid targets before adding them to the file list. This prevents:
1. Empty entries appearing in the file list
2. Infinite loading spinner when selecting broken symlinks

Fixes charmbracelet#836

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Signed-off-by: majiayu000 <[email protected]>
@majiayu000 majiayu000 requested a review from a team as a code owner December 29, 2025 09:39
@majiayu000 majiayu000 requested review from andreynering and raphamorim and removed request for a team December 29, 2025 09:39
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.

Glow chokes on broken symlinks

1 participant