]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/xterm.js
Support copying in the alt buffer
[mirror_xterm.js.git] / src / xterm.js
index 2d74a2d50c9f1f75999739bcbbfa5fe0d67acba1..1ba3facf1e9708ac17f4b25951ef6f31d68ee166 100644 (file)
@@ -251,6 +251,10 @@ function Terminal(options) {
   while (i--) {
     this.lines.push(this.blankLine());
   }
+  // Ensure the selection manager has the correct buffer
+  if (this.selectionManager) {
+    this.selectionManager.setBuffer(this.lines);
+  }
 
   this.tabs;
   this.setupStops();