Clipboard: handle multiple CR+LF
This commit is contained in:
@@ -2356,7 +2356,7 @@ export default class RFB extends EventTargetMixin {
|
||||
textData = textData.slice(0, -1);
|
||||
}
|
||||
|
||||
textData = textData.replace("\r\n", "\n");
|
||||
textData = textData.replaceAll("\r\n", "\n");
|
||||
|
||||
this.dispatchEvent(new CustomEvent(
|
||||
"clipboard",
|
||||
|
||||
Reference in New Issue
Block a user