From 799cd0ced475120de60f79f2e8a68980ddca2fd3 Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Tue, 21 Aug 2018 08:29:07 +0200 Subject: [PATCH] version 1.20.3 --- CHANGELOG.md | 4 +- Makefile | 2 +- README.md | 20 +++++----- bower.json | 2 +- ...-1.20.2.css => jquery.terminal-1.20.3.css} | 4 +- ...min.css => jquery.terminal-1.20.3.min.css} | 4 +- css/jquery.terminal.css | 4 +- css/jquery.terminal.min.css | 4 +- js/jquery.terminal-1.20.2.min.js | 37 ------------------- ...al-1.20.2.js => jquery.terminal-1.20.3.js} | 8 ++-- js/jquery.terminal-1.20.3.min.js | 37 +++++++++++++++++++ js/jquery.terminal.js | 8 ++-- js/jquery.terminal.min.js | 6 +-- package.json | 2 +- terminal.jquery.json | 2 +- 15 files changed, 72 insertions(+), 72 deletions(-) rename css/{jquery.terminal-1.20.2.css => jquery.terminal-1.20.3.css} (99%) rename css/{jquery.terminal-1.20.2.min.css => jquery.terminal-1.20.3.min.css} (99%) delete mode 100644 js/jquery.terminal-1.20.2.min.js rename js/{jquery.terminal-1.20.2.js => jquery.terminal-1.20.3.js} (99%) create mode 100644 js/jquery.terminal-1.20.3.min.js diff --git a/CHANGELOG.md b/CHANGELOG.md index d96d54c4e..7b3afef9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 1.20.3 -### Bugifx -* fix regresion in overtyping [#409](https://github.com/jcubic/jquery.terminal/issues/409) +### Bugfix +* fix regression in overtyping [#409](https://github.com/jcubic/jquery.terminal/issues/409) ## 1.20.2 ### Bugfix diff --git a/Makefile b/Makefile index aaf677866..623cf5f9f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.20.2 +VERSION=1.20.3 SED=sed CD=cd NPM=npm diff --git a/README.md b/README.md index 11e0e0868..388b9a9b5 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ __ / / // / // / _ / _/ // / / / _ / _/ / / \/ / _ \/ / / / / // / // / ___/ // // / / / ___/ // / / / / /\ / // / /__ \___/____ \\__/____/_/ \__ / /_/____/_//_/_/_/ /_/ \/\__\_\___/ - \/ /____/ version DEV + \/ /____/ version 1.20.3 ``` http://terminal.jcubic.pl -[![npm](https://img.shields.io/badge/npm-DEV-blue.svg)](https://www.npmjs.com/package/jquery.terminal) -![bower](https://img.shields.io/badge/bower-DEV-yellow.svg) -[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=devel&d0f3dda15aa4be11010103b36ff86a1577e366c4)](https://travis-ci.org/jcubic/jquery.terminal) -[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&0f857d1d8709172130411f08c9ef6d34)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel) +[![npm](https://img.shields.io/badge/npm-1.20.3-blue.svg)](https://www.npmjs.com/package/jquery.terminal) +![bower](https://img.shields.io/badge/bower-1.20.3-yellow.svg) +[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=master&39135589683021883cee52fdfb33c95171ec608f)](https://travis-ci.org/jcubic/jquery.terminal) +[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=master&0f857d1d8709172130411f08c9ef6d34)](https://coveralls.io/github/jcubic/jquery.terminal?branch=master) ![downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat) [![package quality](http://npm.packagequality.com/shield/jquery.terminal.svg)](http://packagequality.com/#?package=jquery.terminal) [![](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded)](https://www.jsdelivr.com/package/npm/jquery.terminal) @@ -73,20 +73,20 @@ Include jQuery library, you can use cdn from http://jquery.com/download/ ``` -Then include js/jquery.terminal-DEV.min.js and css/jquery.terminal-DEV.min.css +Then include js/jquery.terminal-1.20.3.min.js and css/jquery.terminal-1.20.3.min.css You can grab the files from CDN: ```html - - + + ``` or ```html - - + + ``` If you always want latest version, you can grab the files directly from github using rawgit.com (that service grab the files from github and use propert MIME type so you can use it in your page, you can also grab from devel branch): diff --git a/bower.json b/bower.json index 2c40206d1..8860ca284 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "jquery.terminal", - "version": "1.20.2", + "version": "1.20.3", "main": [ "js/jquery.terminal.min.js", "js/jquery.mousewheel-min.js", diff --git a/css/jquery.terminal-1.20.2.css b/css/jquery.terminal-1.20.3.css similarity index 99% rename from css/jquery.terminal-1.20.2.css rename to css/jquery.terminal-1.20.3.css index 036a9f18e..c4e566a5b 100644 --- a/css/jquery.terminal-1.20.2.css +++ b/css/jquery.terminal-1.20.3.css @@ -4,7 +4,7 @@ * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ * \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/ - * \/ /____/ version DEV + * \/ /____/ version 1.20.3 * http://terminal.jcubic.pl * * This file is part of jQuery Terminal. @@ -12,7 +12,7 @@ * Copyright (c) 2011-2018 Jakub Jankiewicz * Released under the MIT license * - * Date: Mon, 20 Aug 2018 07:53:48 +0000 + * Date: Tue, 21 Aug 2018 06:28:28 +0000 */ .terminal .terminal-output .format, .cmd .format, .cmd .prompt, .cmd .prompt div, .terminal .terminal-output div div{ diff --git a/css/jquery.terminal-1.20.2.min.css b/css/jquery.terminal-1.20.3.min.css similarity index 99% rename from css/jquery.terminal-1.20.2.min.css rename to css/jquery.terminal-1.20.3.min.css index eac4cfa67..bb42ceaba 100644 --- a/css/jquery.terminal-1.20.2.min.css +++ b/css/jquery.terminal-1.20.3.min.css @@ -4,7 +4,7 @@ * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ * \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/ - * \/ /____/ version DEV + * \/ /____/ version 1.20.3 * http://terminal.jcubic.pl * * This file is part of jQuery Terminal. @@ -12,5 +12,5 @@ * Copyright (c) 2011-2018 Jakub Jankiewicz * Released under the MIT license * - * Date: Mon, 20 Aug 2018 07:53:48 +0000 + * Date: Tue, 21 Aug 2018 06:28:28 +0000 */.cmd .format,.cmd .prompt,.cmd .prompt div,.terminal .terminal-output .format,.terminal .terminal-output div div{display:inline-block}.cmd,.terminal h1,.terminal h2,.terminal h3,.terminal h4,.terminal h5,.terminal h6,.terminal pre{margin:0}.terminal h1,.terminal h2,.terminal h3,.terminal h4,.terminal h5,.terminal h6{line-height:1.2em}.cmd .clipboard{position:absolute;left:-16px;top:0;width:20px;height:16px;background:transparent;border:none;color:transparent;outline:none;padding:0;resize:none;z-index:1000;overflow:hidden;white-space:pre;text-indent:-9999em}.terminal audio,.terminal canvas,.terminal img,.terminal object{cursor:default}.terminal .error{color:red}.terminal{position:relative;overflow-y:auto;contain:content}body.terminal{min-height:100vh;height:100%;margin:0}.terminal>div{min-height:100%}.terminal>.font .resizer,.terminal>.resizer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:-1;height:100%;border:none;padding:0;width:100%}.cmd{padding:0;position:relative;float:left}.terminal a[tabindex="1000"],.terminal a[tabindex="1000"]:active,.terminal a[tabindex="1000"]:focus{outline:none}.cmd .inverted,.terminal .inverted{background-color:#aaa;color:#000}.cmd .cursor{border-bottom:3px solid transparent;margin-bottom:-3px;background-clip:content-box}.cmd .cursor.blink{animation:terminal-blink 1s infinite step-start;border-left:1px solid transparent;margin-left:-1px}.bar.cmd .inverted,.bar.terminal .inverted{border-left-color:#aaa}.cmd .prompt,.terminal .terminal-output div div{display:block;line-height:14px;height:auto}.terminal .terminal-output>div:not(.raw) div{white-space:nowrap}.cmd .prompt>span{float:left}.cmd,.cmd *,.terminal,.terminal-wrapper *{font-family:monospace;color:#aaa;background-color:#000;font-size:12px;line-height:14px}.cmd,.terminal{box-sizing:border-box;cursor:text}.cmd .cursor span{color:inherit;background-color:inherit}.cmd .cursor *{background-color:transparent}.cmd div{clear:both}.cmd .prompt+div{clear:right}.terminal-output>div>div{min-height:14px}terminal .terminal-output>div{margin-top:-1px}.terminal-output>div.raw>div *{overflow-wrap:break-word;word-wrap:break-word}.terminal .font{position:absolute;float:left;font-size:inherit;line-height:inherit;top:-100%;left:0;margin-bottom:1px}.terminal .terminal-output div span{display:inline-block}.cmd>span:not(.prompt){float:left}.cmd .prompt span.line{display:block;float:none}.terminal table{border-collapse:collapse}.terminal td{border:1px solid #aaa}.cmd .prompt span::-moz-selection,.cmd>div::-moz-selection,.cmd>div span::-moz-selection,.cmd>span::-moz-selection,.cmd>span span::-moz-selection,.cmd div::-moz-selection,.terminal .terminal-output .raw div::-moz-selection,.terminal .terminal-output div div::-moz-selection,.terminal .terminal-output div div a::-moz-selection,.terminal .terminal-output div span::-moz-selection,.terminal h1::-moz-selection,.terminal h2::-moz-selection,.terminal h3::-moz-selection,.terminal h4::-moz-selection,.terminal h5::-moz-selection,.terminal h6::-moz-selection,.terminal pre::-moz-selection,.terminal td::-moz-selection{background-color:#aaa;color:#000}.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output .raw div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:hsla(0,0%,67%,.99);color:#000}.terminal .terminal-output div.error,.terminal .terminal-output div.error *{color:red;color:var(--error-color,red)}.tilda{position:fixed;top:0;left:0;width:100%;z-index:1100}.ui-dialog-content .terminal{width:100%;height:100%;box-sizing:border-box}.ui-dialog .ui-dialog-content.dterm{padding:0}.clear{clear:both}.terminal a{color:#0f60ff;color:var(--link-color,#0f60ff)}.terminal a:hover{background:#0f60ff;background:var(--link-color,#0f60ff);color:var(--background,#000);text-decoration:none}.terminal .terminal-fill{position:absolute;left:0;top:-100%;width:100%;height:100%;margin:1px 0 0;border:none;opacity:.01;pointer-events:none;box-sizing:border-box}.terminal,.terminal .terminal-fill{padding:10px}@keyframes terminal-blink{0%,to{background-color:#000;color:#aaa;border-bottom:none;border-left:none;margin-left:0}50%{background-color:#bbb;color:#000;border-bottom:none;border-left:none;margin-left:0}}@keyframes terminal-bar{0%,to{border-left-color:#aaa}50%{border-left-color:#000}}@keyframes terminal-underline{0%,to{border-bottom-color:#aaa;position:relative;line-height:12px;margin-top:1px;border-left:none;margin-left:0}50%{border-bottom-color:#000;position:relative;line-height:12px;margin-top:1px;border-left:none;margin-left:0}}.underline-animation .cursor.blink{border-left:none;animation-name:terminal-underline}.bar-animation .cursor.blink{animation-name:terminal-bar}@supports (--css:variables){.cmd,.cmd *,.terminal,.terminal-wrapper *{color:var(--color,#aaa);background-color:var(--background,#000)}.terminal span[style*="--length"]{width:calc(var(--length, 1) * var(--char-width, 7.23438) * 1px);display:inline-block}.cmd,.cmd *,.terminal,.terminal *{font-size:calc(var(--size, 1) * 12px);line-height:calc(var(--size, 1) * 14px)}.terminal .terminal-output>div>div{min-height:calc(var(--size, 1) * 14px)}.cmd .inverted,.terminal .inverted{background-color:var(--color,#aaa);color:var(--background,#000)}.cmd .cursor.blink{animation:var(--animation,terminal-blink) 1s infinite step-start;color:var(--color,#aaa);background-color:var(--background,#000)}.cmd .prompt span::-moz-selection,.cmd>div::-moz-selection,.cmd>div span::-moz-selection,.cmd>span::-moz-selection,.cmd>span span::-moz-selection,.cmd div::-moz-selection,.terminal .terminal-output div div::-moz-selection,.terminal .terminal-output div div a::-moz-selection,.terminal .terminal-output div span::-moz-selection,.terminal h1::-moz-selection,.terminal h2::-moz-selection,.terminal h3::-moz-selection,.terminal h4::-moz-selection,.terminal h5::-moz-selection,.terminal h6::-moz-selection,.terminal pre::-moz-selection,.terminal td::-moz-selection{background-color:var(--color,#aaa);color:var(--background,#000)}.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:var(--color,hsla(0,0%,67%,.99));color:var(--background,#000)}@keyframes terminal-blink{0%,to{background-color:var(--background,#000);color:var(--color,#aaa);border-bottom:none;border-left:none;margin-left:0}50%{background-color:var(--color,#aaa);color:var(--background,#000);border-bottom:none;border-left:none;margin-left:0}}@keyframes terminal-bar{0%,to{border-left-color:var(--background,#000);border-bottom:none}50%{border-left-color:var(--color,#aaa);border-bottom:none}}@keyframes terminal-underline{0%,to{border-bottom-color:var(--background,#000);position:relative;line-height:calc(var(--size, 1) * 12px);margin-top:calc(var(--size, 1) * 1px);border-left:none;margin-left:0}50%{border-bottom-color:var(--color,#aaa);position:relative;line-height:calc(var(--size, 1) * 12px);margin-top:calc(var(--size, 1) * 1px);border-left:none;margin-left:0}}}@supports (-ms-ime-align:auto){.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:hsla(0,0%,67%,.99);color:#000}}.cmd .style .token.string,.cmd .token.entity,.cmd .token.operator,.cmd .token.string,.cmd .token.url,.terminal .style .token.string,.terminal .token.entity,.terminal .token.operator,.terminal .token.string,.terminal .token.url{background:inherit} \ No newline at end of file diff --git a/css/jquery.terminal.css b/css/jquery.terminal.css index 036a9f18e..c4e566a5b 100644 --- a/css/jquery.terminal.css +++ b/css/jquery.terminal.css @@ -4,7 +4,7 @@ * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ * \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/ - * \/ /____/ version DEV + * \/ /____/ version 1.20.3 * http://terminal.jcubic.pl * * This file is part of jQuery Terminal. @@ -12,7 +12,7 @@ * Copyright (c) 2011-2018 Jakub Jankiewicz * Released under the MIT license * - * Date: Mon, 20 Aug 2018 07:53:48 +0000 + * Date: Tue, 21 Aug 2018 06:28:28 +0000 */ .terminal .terminal-output .format, .cmd .format, .cmd .prompt, .cmd .prompt div, .terminal .terminal-output div div{ diff --git a/css/jquery.terminal.min.css b/css/jquery.terminal.min.css index eac4cfa67..bb42ceaba 100644 --- a/css/jquery.terminal.min.css +++ b/css/jquery.terminal.min.css @@ -4,7 +4,7 @@ * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ * \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/ - * \/ /____/ version DEV + * \/ /____/ version 1.20.3 * http://terminal.jcubic.pl * * This file is part of jQuery Terminal. @@ -12,5 +12,5 @@ * Copyright (c) 2011-2018 Jakub Jankiewicz * Released under the MIT license * - * Date: Mon, 20 Aug 2018 07:53:48 +0000 + * Date: Tue, 21 Aug 2018 06:28:28 +0000 */.cmd .format,.cmd .prompt,.cmd .prompt div,.terminal .terminal-output .format,.terminal .terminal-output div div{display:inline-block}.cmd,.terminal h1,.terminal h2,.terminal h3,.terminal h4,.terminal h5,.terminal h6,.terminal pre{margin:0}.terminal h1,.terminal h2,.terminal h3,.terminal h4,.terminal h5,.terminal h6{line-height:1.2em}.cmd .clipboard{position:absolute;left:-16px;top:0;width:20px;height:16px;background:transparent;border:none;color:transparent;outline:none;padding:0;resize:none;z-index:1000;overflow:hidden;white-space:pre;text-indent:-9999em}.terminal audio,.terminal canvas,.terminal img,.terminal object{cursor:default}.terminal .error{color:red}.terminal{position:relative;overflow-y:auto;contain:content}body.terminal{min-height:100vh;height:100%;margin:0}.terminal>div{min-height:100%}.terminal>.font .resizer,.terminal>.resizer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:-1;height:100%;border:none;padding:0;width:100%}.cmd{padding:0;position:relative;float:left}.terminal a[tabindex="1000"],.terminal a[tabindex="1000"]:active,.terminal a[tabindex="1000"]:focus{outline:none}.cmd .inverted,.terminal .inverted{background-color:#aaa;color:#000}.cmd .cursor{border-bottom:3px solid transparent;margin-bottom:-3px;background-clip:content-box}.cmd .cursor.blink{animation:terminal-blink 1s infinite step-start;border-left:1px solid transparent;margin-left:-1px}.bar.cmd .inverted,.bar.terminal .inverted{border-left-color:#aaa}.cmd .prompt,.terminal .terminal-output div div{display:block;line-height:14px;height:auto}.terminal .terminal-output>div:not(.raw) div{white-space:nowrap}.cmd .prompt>span{float:left}.cmd,.cmd *,.terminal,.terminal-wrapper *{font-family:monospace;color:#aaa;background-color:#000;font-size:12px;line-height:14px}.cmd,.terminal{box-sizing:border-box;cursor:text}.cmd .cursor span{color:inherit;background-color:inherit}.cmd .cursor *{background-color:transparent}.cmd div{clear:both}.cmd .prompt+div{clear:right}.terminal-output>div>div{min-height:14px}terminal .terminal-output>div{margin-top:-1px}.terminal-output>div.raw>div *{overflow-wrap:break-word;word-wrap:break-word}.terminal .font{position:absolute;float:left;font-size:inherit;line-height:inherit;top:-100%;left:0;margin-bottom:1px}.terminal .terminal-output div span{display:inline-block}.cmd>span:not(.prompt){float:left}.cmd .prompt span.line{display:block;float:none}.terminal table{border-collapse:collapse}.terminal td{border:1px solid #aaa}.cmd .prompt span::-moz-selection,.cmd>div::-moz-selection,.cmd>div span::-moz-selection,.cmd>span::-moz-selection,.cmd>span span::-moz-selection,.cmd div::-moz-selection,.terminal .terminal-output .raw div::-moz-selection,.terminal .terminal-output div div::-moz-selection,.terminal .terminal-output div div a::-moz-selection,.terminal .terminal-output div span::-moz-selection,.terminal h1::-moz-selection,.terminal h2::-moz-selection,.terminal h3::-moz-selection,.terminal h4::-moz-selection,.terminal h5::-moz-selection,.terminal h6::-moz-selection,.terminal pre::-moz-selection,.terminal td::-moz-selection{background-color:#aaa;color:#000}.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output .raw div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:hsla(0,0%,67%,.99);color:#000}.terminal .terminal-output div.error,.terminal .terminal-output div.error *{color:red;color:var(--error-color,red)}.tilda{position:fixed;top:0;left:0;width:100%;z-index:1100}.ui-dialog-content .terminal{width:100%;height:100%;box-sizing:border-box}.ui-dialog .ui-dialog-content.dterm{padding:0}.clear{clear:both}.terminal a{color:#0f60ff;color:var(--link-color,#0f60ff)}.terminal a:hover{background:#0f60ff;background:var(--link-color,#0f60ff);color:var(--background,#000);text-decoration:none}.terminal .terminal-fill{position:absolute;left:0;top:-100%;width:100%;height:100%;margin:1px 0 0;border:none;opacity:.01;pointer-events:none;box-sizing:border-box}.terminal,.terminal .terminal-fill{padding:10px}@keyframes terminal-blink{0%,to{background-color:#000;color:#aaa;border-bottom:none;border-left:none;margin-left:0}50%{background-color:#bbb;color:#000;border-bottom:none;border-left:none;margin-left:0}}@keyframes terminal-bar{0%,to{border-left-color:#aaa}50%{border-left-color:#000}}@keyframes terminal-underline{0%,to{border-bottom-color:#aaa;position:relative;line-height:12px;margin-top:1px;border-left:none;margin-left:0}50%{border-bottom-color:#000;position:relative;line-height:12px;margin-top:1px;border-left:none;margin-left:0}}.underline-animation .cursor.blink{border-left:none;animation-name:terminal-underline}.bar-animation .cursor.blink{animation-name:terminal-bar}@supports (--css:variables){.cmd,.cmd *,.terminal,.terminal-wrapper *{color:var(--color,#aaa);background-color:var(--background,#000)}.terminal span[style*="--length"]{width:calc(var(--length, 1) * var(--char-width, 7.23438) * 1px);display:inline-block}.cmd,.cmd *,.terminal,.terminal *{font-size:calc(var(--size, 1) * 12px);line-height:calc(var(--size, 1) * 14px)}.terminal .terminal-output>div>div{min-height:calc(var(--size, 1) * 14px)}.cmd .inverted,.terminal .inverted{background-color:var(--color,#aaa);color:var(--background,#000)}.cmd .cursor.blink{animation:var(--animation,terminal-blink) 1s infinite step-start;color:var(--color,#aaa);background-color:var(--background,#000)}.cmd .prompt span::-moz-selection,.cmd>div::-moz-selection,.cmd>div span::-moz-selection,.cmd>span::-moz-selection,.cmd>span span::-moz-selection,.cmd div::-moz-selection,.terminal .terminal-output div div::-moz-selection,.terminal .terminal-output div div a::-moz-selection,.terminal .terminal-output div span::-moz-selection,.terminal h1::-moz-selection,.terminal h2::-moz-selection,.terminal h3::-moz-selection,.terminal h4::-moz-selection,.terminal h5::-moz-selection,.terminal h6::-moz-selection,.terminal pre::-moz-selection,.terminal td::-moz-selection{background-color:var(--color,#aaa);color:var(--background,#000)}.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:var(--color,hsla(0,0%,67%,.99));color:var(--background,#000)}@keyframes terminal-blink{0%,to{background-color:var(--background,#000);color:var(--color,#aaa);border-bottom:none;border-left:none;margin-left:0}50%{background-color:var(--color,#aaa);color:var(--background,#000);border-bottom:none;border-left:none;margin-left:0}}@keyframes terminal-bar{0%,to{border-left-color:var(--background,#000);border-bottom:none}50%{border-left-color:var(--color,#aaa);border-bottom:none}}@keyframes terminal-underline{0%,to{border-bottom-color:var(--background,#000);position:relative;line-height:calc(var(--size, 1) * 12px);margin-top:calc(var(--size, 1) * 1px);border-left:none;margin-left:0}50%{border-bottom-color:var(--color,#aaa);position:relative;line-height:calc(var(--size, 1) * 12px);margin-top:calc(var(--size, 1) * 1px);border-left:none;margin-left:0}}}@supports (-ms-ime-align:auto){.cmd .prompt span::selection,.cmd>div::selection,.cmd>div span::selection,.cmd>span::selection,.cmd>span span::selection,.cmd div::selection,.terminal .terminal-output div div::selection,.terminal .terminal-output div div a::selection,.terminal .terminal-output div span::selection,.terminal h1::selection,.terminal h2::selection,.terminal h3::selection,.terminal h4::selection,.terminal h5::selection,.terminal h6::selection,.terminal pre::selection,.terminal td::selection{background-color:hsla(0,0%,67%,.99);color:#000}}.cmd .style .token.string,.cmd .token.entity,.cmd .token.operator,.cmd .token.string,.cmd .token.url,.terminal .style .token.string,.terminal .token.entity,.terminal .token.operator,.terminal .token.string,.terminal .token.url{background:inherit} \ No newline at end of file diff --git a/js/jquery.terminal-1.20.2.min.js b/js/jquery.terminal-1.20.2.min.js deleted file mode 100644 index 996933d2a..000000000 --- a/js/jquery.terminal-1.20.2.min.js +++ /dev/null @@ -1,37 +0,0 @@ -/**@license - * __ _____ ________ __ - * / // _ /__ __ _____ ___ __ _/__ ___/__ ___ ______ __ __ __ ___ / / - * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / - * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ - * \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/ - * \/ /____/ version DEV - * - * This file is part of jQuery Terminal. http://terminal.jcubic.pl - * - * Copyright (c) 2010-2018 Jakub Jankiewicz - * Released under the MIT license - * - * Contains: - * - * Storage plugin Distributed under the MIT License - * modified to work from Data URIs that block storage and cookies in Chrome - * Copyright (c) 2010 Dave Schindler - * - * jQuery Timers licenced with the WTFPL - * - * - * Cross-Browser Split 1.1.1 - * Copyright 2007-2012 Steven Levithan - * Available under the MIT License - * - * jQuery Caret - * Copyright (c) 2009, Gideon Sireling - * 3 clause BSD License - * - * sprintf.js - * Copyright (c) 2007-2013 Alexandru Marasteanu - * licensed under 3 clause BSD license - * - * Date: Mon, 20 Aug 2018 07:53:48 +0000 - */ -(function(e){var m=function(){if(!m.cache.hasOwnProperty(arguments[0])){m.cache[arguments[0]]=m.parse(arguments[0])}return m.format.call(null,m.cache[arguments[0]],arguments)};m.format=function(e,n){var t=1,r=e.length,i="",o,a=[],s,l,f,c,u,p;for(s=0;s>>0;break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase();break}o=/[def]/.test(f[8])&&f[3]&&o>=0?" +"+o:o;u=f[4]?f[4]==="0"?"0":f[4].charAt(1):" ";p=f[6]-String(o).length;c=f[6]?h(u,p):"";a.push(f[5]?o+c:c+o)}}return a.join("")};m.cache={};m.parse=function(e){var n=e,t=[],r=[],i=0;while(n){if((t=/^[^\x25]+/.exec(n))!==null){r.push(t[0])}else if((t=/^\x25{2}/.exec(n))!==null){r.push("%")}else if((t=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(n))!==null){if(t[2]){i|=1;var o=[],a=t[2],s=[];if((s=/^([a-z_][a-z_\d]*)/i.exec(a))!==null){o.push(s[1]);while((a=a.substring(s[0].length))!==""){if((s=/^\.([a-z_][a-z_\d]*)/i.exec(a))!==null){o.push(s[1])}else if((s=/^\[(\d+)\]/.exec(a))!==null){o.push(s[1])}else{throw"[sprintf] huh?"}}}else{throw"[sprintf] huh?"}t[2]=o}else{i|=2}if(i===3){throw"[sprintf] mixing positional and named placeholders is not (yet) supported"}r.push(t)}else{throw"[sprintf] huh?"}n=n.substring(t[0].length)}return r};var n=function(e,n,t){t=n.slice(0);t.splice(0,0,e);return m.apply(null,t)};function d(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function h(e,n){for(var t=[];n>0;t[--n]=e){}return t.join("")}e.sprintf=m;e.vsprintf=n})(typeof global!=="undefined"?global:window);(function(r,i){var e=typeof window!=="undefined"?window:global;if(typeof define==="function"&&define.amd){define(["jquery","wcwidth"],r)}else if(typeof module==="object"&&module.exports){module.exports=function(e,n,t){if(n===i){if(window!==i){n=require("jquery")}else{n=require("jquery")(e)}}if(t===i){t=require("wcwidth")}r(n,t);return n}}else{r(e.jQuery,e.wcwidth)}})(function($,wcwidth,undefined){"use strict";function debug(e){if(false){console.log(e)}}function DelayQueue(){var n=$.Callbacks();var t=false;this.resolve=function(){n.fire();t=true};this.add=function(e){if(t){e()}else{n.add(e)}}}$.omap=function(t,r){var i={};$.each(t,function(e,n){i[e]=r.call(t,e,n)});return i};$.fn.text_length=function(){return this.map(function(){return $(this).text().length}).get().reduce(function(e,n){return e+n},0)};var Clone={clone_object:function(e){var n={};if(typeof e==="object"){if($.isArray(e)){return this.clone_array(e)}else if(e===null){return e}else{for(var t in e){if($.isArray(e[t])){n[t]=this.clone_array(e[t])}else if(typeof e[t]==="object"){n[t]=this.clone_object(e[t])}else{n[t]=e[t]}}}}return n},clone_array:function(e){if(!is_function(Array.prototype.map)){throw new Error("Your browser don't support ES5 array map "+"use es5-shim")}return e.slice(0).map(function(e){if(typeof e==="object"){return this.clone_object(e)}else{return e}}.bind(this))}};var clone=function(e){return Clone.clone_object(e)};var localStorage;(function(){var e=function(){try{var e="test",n=window.localStorage;n.setItem(e,"1");n.removeItem(e);return true}catch(e){return false}};var n=function(){try{document.cookie.split(";");return true}catch(e){return false}};var t=e();function r(e,n){var t;if(typeof e==="string"&&typeof n==="string"){localStorage[e]=n;return true}else if(typeof e==="object"&&typeof n==="undefined"){for(t in e){if(e.hasOwnProperty(t)){localStorage[t]=e[t]}}return true}return false}function i(e,n){var t,r,i;t=new Date;t.setTime(t.getTime()+31536e6);r="; expires="+t.toGMTString();if(typeof e==="string"&&typeof n==="string"){document.cookie=e+"="+n+r+"; path=/";return true}else if(typeof e==="object"&&typeof n==="undefined"){for(i in e){if(e.hasOwnProperty(i)){document.cookie=i+"="+e[i]+r+"; path=/"}}return true}return false}function o(e){return localStorage[e]}function a(e){var n,t,r,i;n=e+"=";t=document.cookie.split(";");for(r=0;ri&&i!==0||r.call(e,a)===false){jQuery.timer.remove(e,t,r)}s.inProgress=false};s.$timerID=r.$timerID;if(!e.$timers[t][r.$timerID]){e.$timers[t][r.$timerID]=window.setInterval(s,n)}if(!this.global[t]){this.global[t]=[]}this.global[t].push(e)},remove:function(e,n,t){var r=e.$timers,i;if(r){if(!n){for(var o in r){if(r.hasOwnProperty(o)){this.remove(e,o,t)}}}else if(r[n]){if(t){if(t.$timerID){window.clearInterval(r[n][t.$timerID]);delete r[n][t.$timerID]}}else{for(var a in r[n]){if(r[n].hasOwnProperty(a)){window.clearInterval(r[n][a]);delete r[n][a]}}}for(i in r[n]){if(r[n].hasOwnProperty(i)){break}}if(!i){i=null;delete r[n]}}for(i in r){if(r.hasOwnProperty(i)){break}}if(!i){e.$timers=null}}}}});if(/(msie) ([\w.]+)/.exec(navigator.userAgent.toLowerCase())){e(window).one("unload",function(){var e=jQuery.timer.global;for(var n in e){if(e.hasOwnProperty(n)){var t=e[n],r=t.length;while(--r){jQuery.timer.remove(t[r],n)}}}})}})(jQuery);(function(c){if(!String.prototype.split.toString().match(/\[native/)){return}var u=String.prototype.split,p=/()??/.exec("")[1]===c,t;t=function(e,n,t){if(Object.prototype.toString.call(n)!=="[object RegExp]"){return u.call(e,n,t)}var r=[],i=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),o=0,a,s,l,f;n=new RegExp(n.source,i+"g");e+="";if(!p){a=new RegExp("^"+n.source+"$(?!\\s)",i)}t=t===c?-1>>>0:t>>>0;while(s=n.exec(e)){l=s.index+s[0].length;if(l>o){r.push(e.slice(o,s.index));if(!p&&s.length>1){s[0].replace(a,function(){for(var e=1;e1&&s.index=t){break}}if(n.lastIndex===s.index){n.lastIndex++}}if(o===e.length){if(f||!n.test("")){r.push("")}}else{r.push(e.slice(o))}return r.length>t?r.slice(0,t):r};String.prototype.split=function(e,n){return t(this,e,n)};return t})();$.fn.caret=function(e){var n=this[0];var t=n.contentEditable==="true";if(arguments.length===0){if(window.getSelection){if(t){n.focus();var r=window.getSelection().getRangeAt(0),i=r.cloneRange();i.selectNodeContents(n);i.setEnd(r.endContainer,r.endOffset);return i.toString().length}return n.selectionStart}if(document.selection){n.focus();if(t){var r=document.selection.createRange(),i=document.body.createTextRange();i.moveToElementText(n);i.setEndPoint("EndToEnd",r);return i.text.length}var e=0,o=n.createTextRange(),i=document.selection.createRange().duplicate(),a=i.getBookmark();o.moveToBookmark(a);while(o.moveStart("character",-1)!==0)e++;return e}return 0}if(e===-1)e=this[t?"text":"val"]().length;if(window.getSelection){if(t){n.focus();window.getSelection().collapse(n.firstChild,e)}else n.setSelectionRange(e,e)}else if(document.body.createTextRange){var o=document.body.createTextRange();o.moveToElementText(n);o.moveStart("character",e);o.collapse(true);o.select()}if(!t&&!this.is(":focus")){n.focus()}return e};$.fn.resizer=function(s){var l=arguments[0]==="unbind";if(!l&&!is_function(s)){throw new Error('Invalid argument, it need to a function or string "unbind".')}if(l){s=is_function(arguments[1])?arguments[1]:null}return this.each(function(){var e=$(this);var n;var t;function r(){t.fire()}if(l){t=e.data("callbacks");if(s&&t){t.remove(s);if(!t.has()){t=null}}else{t=null}if(!t){e.removeData("callbacks");if(window.ResizeObserver){var i=e.data("observer");if(i){i.unobserve(this);e.removeData("observer")}}else{n=e.find("> iframe");if(n.length){$(n[0].contentWindow).off("resize").remove();n.remove()}else if(e.is("body")){$(window).off("resize.resizer")}}}}else if(e.data("callbacks")){$(this).data("callbacks").add(s)}else{t=$.Callbacks();t.add(s);e.data("callbacks",t);var o;var a=true;if(window.ResizeObserver){o=new ResizeObserver(function(){if(!a){r()}a=false});o.observe(this);e.data("observer",o)}else if(e.is("body")){$(window).on("resize.resizer",r)}else{n=$("