mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-17 18:09:59 +00:00
escape backslashes when dropping paths
This commit is contained in:
parent
32e7d2db5c
commit
005912dfe8
@ -28,6 +28,7 @@ export class PathDropDecorator extends TerminalDecorator {
|
||||
if (path.indexOf(' ') >= 0) {
|
||||
path = `"${path}"`
|
||||
}
|
||||
path = path.replace(/\\/g, '\\\\')
|
||||
terminal.sendInput(path + ' ')
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user