diff --git a/shellinabox/vt100.js b/shellinabox/vt100.js index fe7d6b9..222729e 100644 --- a/shellinabox/vt100.js +++ b/shellinabox/vt100.js @@ -2321,6 +2321,13 @@ VT100.prototype.pasteFnc = function() { } }; +VT100.prototype.pasteBrowserFnc = function() { + var clipboard = prompt("Paste into this box:",""); + if (clipboard != undefined) { + return this.keysPressed('' + clipboard); + } +}; + VT100.prototype.toggleUTF = function() { this.utfEnabled = !this.utfEnabled; @@ -2426,6 +2433,7 @@ VT100.prototype.showContextMenu = function(x, y) { '