Use crlf when copying on Windows

Fixes #737
This commit is contained in:
Daniel Imms
2017-06-29 07:38:41 -07:00
parent 471e332036
commit cfe22e6fd2
+1 -1
View File
@@ -233,7 +233,7 @@ export class SelectionManager extends EventEmitter {
// and joining the array into a multi-line string.
const formattedResult = result.map(line => {
return line.replace(ALL_NON_BREAKING_SPACE_REGEX, ' ');
}).join('\n');
}).join(Browser.isMSWindows ? '\r\n' : '\n');
return formattedResult;
}