-
Notifications
You must be signed in to change notification settings - Fork 563
Open
Description
Describe the bug
Two problems with a broken symlink, when viewing an ancestor directory in the TUI:
- An entry for a markdown document shows in the list, with no name, just a time/date
- If the entry is selected with Enter, the "Loading document" spinner continues indefinitely
Setup
Please complete the following information along with version numbers, if applicable.
- OS: macOS
- Shell: zsh
- Terminal Emulator: iTerm2
- Terminal Multiplexer: n/a
- Locale: en_GB.UTF-8 (presumed)
To Reproduce
Steps to reproduce the behavior:
- Create a broken link with a .md extension (e.g.
ln -s this-file-does-not-exist file.md) - Run
glowin the same directory - Observe weird 'empty' entry in the document list
- Press Enter on empty document
- Observe program hanging while trying to load document
Expected behavior
Glow should either mark the document as 'bad' and ignore interactions with it, or ignore it and leave it out of the document list altogether.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels