diff --git a/evennia/web/static/webclient/js/plugins/default_in.js b/evennia/web/static/webclient/js/plugins/default_in.js index 51b200f707..3412730c0e 100644 --- a/evennia/web/static/webclient/js/plugins/default_in.js +++ b/evennia/web/static/webclient/js/plugins/default_in.js @@ -17,6 +17,14 @@ let defaultInPlugin = (function () { inputfield = $("#inputfield:focus"); } + // Allows you to copy from panels. + // Ignore textfocus if Ctrl + C (Or Mac Command Key + C Pressed.) + if ((event.ctrlKey || event.metaKey) && event.keyCode == 67) { + return; + } else { + // Continue + } + // check for important keys switch (event.which) { case 9: // ignore tab key -- allows normal focus control