This commit is contained in:
Stephan Dilly
2020-07-07 13:02:41 +02:00
parent 1cd74ad02e
commit a11713ee18
+1 -1
View File
@@ -36,7 +36,7 @@ impl ExternalEditorComponent {
}
}
///
/// opens file at given `path` in an available editor
pub fn open_file_in_editor(path: &Path) -> Result<()> {
io::stdout().execute(LeaveAlternateScreen)?;
defer! {