@n42/cli 0.3.72 → 0.3.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/terminal.js +1 -2
- package/dist/n42 +14 -14
- package/package.json +1 -1
- package/src/assets/terminal.js +1 -2
package/dist/assets/terminal.js
CHANGED
|
@@ -133,7 +133,6 @@ class Terminal {
|
|
|
133
133
|
|
|
134
134
|
async httpRequest(req) {
|
|
135
135
|
const normalized = this._normalizeReq(req);
|
|
136
|
-
this._resetTerminal();
|
|
137
136
|
|
|
138
137
|
const cmd = `$ request ${this._getReqArgs(normalized)}`;
|
|
139
138
|
this._addHistory(cmd)
|
|
@@ -637,7 +636,7 @@ class Terminal {
|
|
|
637
636
|
}
|
|
638
637
|
|
|
639
638
|
_openUrl() {
|
|
640
|
-
if (input.value && this.input.value.length > 0) {
|
|
639
|
+
if (this.input.value && this.input.value.length > 0) {
|
|
641
640
|
const url = this.input.value.replace(/^.*?(?=https?:\/\/)/, "")
|
|
642
641
|
window.open(url, '_blank');
|
|
643
642
|
}
|