Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 22b1eb8

Browse files
committed
🐛 Esc file names when starting editor from fsdisp
#219
1 parent e9bc5ea commit 22b1eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/filesystem.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class FilesystemDisplay {
222222
cmd = `window.remakeKeyboard('${e.name.slice(0, -5)}')`;
223223
}
224224
if (e.type === "edex-settings" && process.env.editor) {
225-
cmd = `window.term.writelr('${process.env.editor} ${e.name.slice(0, -5)}')`;
225+
cmd = `window.term.writelr('${process.env.editor} \\'${e.name.slice(0, -5)}\\'')`;
226226
}
227227

228228
let icon = "";

0 commit comments

Comments
 (0)