Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# ChangeLog

## v1.0.1

**Released: 2026-05-20**

- Worked around a crash in a particular GNU/Linux environment. ([thanks to
zvonler-sfw](https://github.com/davep/textual-fspicker/pull/97))

## v1.0.0

**Released: 2026-02-18**
Expand Down
21 changes: 15 additions & 6 deletions src/textual_fspicker/parts/directory_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,21 @@ def _sort(self, entries: Iterable[DirectoryEntry]) -> Iterable[DirectoryEntry]:
@property
def _styles(self) -> DirectoryEntryStyling:
"""The styles to use for a directory entry."""
return DirectoryEntryStyling(
self.get_component_rich_style("directory-navigation--hidden"),
self.get_component_rich_style("directory-navigation--name", partial=True),
self.get_component_rich_style("directory-navigation--size", partial=True),
self.get_component_rich_style("directory-navigation--time", partial=True),
)
try:
return DirectoryEntryStyling(
self.get_component_rich_style("directory-navigation--hidden"),
self.get_component_rich_style(
"directory-navigation--name", partial=True
),
self.get_component_rich_style(
"directory-navigation--size", partial=True
),
self.get_component_rich_style(
"directory-navigation--time", partial=True
),
)
except KeyError:
return DirectoryEntryStyling(Style(), Style(), Style(), Style())

def _repopulate_display(self) -> None:
"""Repopulate the display of directories."""
Expand Down
Loading