github Epistates/treemd v0.1.7

latest releases: v0.5.12, v0.5.11, v0.5.10...
8 months ago

[0.1.7] - 2025-01-10

Fixed

  • Tab completion for current directory files - Fixed bug where treemd R<tab> wouldn't complete to README.md in the current directory. Path::parent() returns empty string for simple filenames, which is now normalized to "." for proper completion matching.

Added

  • Filename in title bar - Title bar now displays the filename being viewed: "treemd - README.md - 15 headings"
  • Current heading in content pane - Content pane header now shows the selected heading name instead of the generic "Content" label, providing better context while reading

Changed

  • App struct enhancement - Added filename field to track the source file for display purposes
  • Content pane title logic - Title dynamically updates based on selected heading, falling back to "Content" when none selected

Technical

  • Normalized empty parent paths in file completer to fix Path::new("R").parent() returning Some("") instead of Some(".")
  • Extracted filename from PathBuf when launching TUI mode using file_name() and to_str()

Full Changelog: v0.1.6...v0.1.7

Don't miss a new treemd release

NewReleases is sending notifications on new releases.