mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-11 19:04:35 +00:00
escape backslashes when dropping paths
This commit is contained in:
@@ -28,6 +28,7 @@ export class PathDropDecorator extends TerminalDecorator {
|
||||
if (path.indexOf(' ') >= 0) {
|
||||
path = `"${path}"`
|
||||
}
|
||||
path = path.replace(/\\/g, '\\\\')
|
||||
terminal.sendInput(path + ' ')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user