Skip to content

Conversation

bynect
Copy link

@bynect bynect commented Jun 16, 2022

Solves #95 (actually the command is :saveas and not :sav).
Save view to disk and change its name.

MessageType::Info,
);
self.active_view_mut().file_status =
FileStatus::Saved(FileStorage::Single(Path::new(path).into()));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed the most straightforward way to change the view file name, but maybe there is some better way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant