]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Added data handling on paste
authorparis <pariskasidiaris@gmail.com>
Wed, 9 Apr 2014 14:43:43 +0000 (14:43 +0000)
committerparis <pariskasidiaris@gmail.com>
Wed, 9 Apr 2014 14:43:43 +0000 (14:43 +0000)
Also bumped version to 0.3 for bower

bower.json
project [new symlink]
src/xterm.js

index 9fe001f1a031158185e7a0a9b4fe317214eb3a9b..b2d3e939c3fe3d3bbc0e3d2354e4383fa61fbb62 100644 (file)
@@ -1,5 +1,5 @@
 {
   "name": "xterm.js",
-  "version": "0.2",
+  "version": "0.3",
   "ignore": ["demo", "docs", "test", ".gitignore"]
 }
\ No newline at end of file
diff --git a/project b/project
new file mode 120000 (symlink)
index 0000000..24ce571
--- /dev/null
+++ b/project
@@ -0,0 +1 @@
+/mnt/project/
\ No newline at end of file
index de43f61d9337812850cc7228454938394c62cd4d..17df459a54ea75a931ca0898406b044cacff2ad8 100644 (file)
@@ -419,9 +419,8 @@ Terminal.bindPaste = function(term) {
     ev.stopPropagation();
     if (ev.clipboardData) {
       var text = ev.clipboardData.getData('text/plain');
-      for (var i=0; i<text.length; i++) {
-        term.write(text[i]); 
-      }
+      term.write(text);
+      term.handler(text);
     }
     term.textarea.value = '';
     return term.cancel(ev);