Added
- Command-Line Argument Support: Open files directly from the terminal or via OS "Open With"
- Pass a file path as the first argument to FerrisPad to load it on startup
- Automatic loading of files when double-clicked in file managers (macOS/Linux/Windows)
- Robust Path Handling: Improved safety when handling file paths
- Safe conversion of non-UTF-8 paths to prevent application panics
- Uses
to_string_lossy()for handling paths from various character sets
Technical
- Refactored file opening logic into a shared
open_filehelper function - Modularized state management for easier extension of startup parameters