fix: create the file passed on the command line when it is missing
A path that did not exist was silently ignored: plotzilla new-script.fountain opened an untitled document instead of a new script saved to that file on the first save.
This commit is contained in:
1 parent
b0bcb812b1
commit
6622203506
3 files changed
+9
-4
No files matched your search
@@ -15,6 +15,8 @@ version is in the `VERSION` file.
|
||||
|
||||
### Fixed
|
||||
|
||||
- `plotzilla new-script.fountain` opens a new script that will be saved to that file,
|
||||
instead of an untitled document that forgot the name it was given.
|
||||
- The unsaved-changes marker is now updated atomically: an edit landing while a save
|
||||
finished could make the close confirmation unreliable.
|
||||
- Saving is now durable: the file is synced to disk before it replaces the old one (a
|
||||
|
||||
Reference in new issue
Block a user