itwillsync 1.3.2 → 1.3.3
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/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/web-client/assets/{index-CpcOfuy-.js → index-lCqw1s_s.js} +17 -17
- package/dist/web-client/assets/index-xsTGRLqf.css +1 -0
- package/dist/web-client/index.html +2 -2
- package/package.json +1 -1
- package/dist/web-client/assets/index-viCDtpt6.css +0 -1
package/dist/index.js
CHANGED
|
@@ -4768,12 +4768,12 @@ async function main() {
|
|
|
4768
4768
|
}
|
|
4769
4769
|
}
|
|
4770
4770
|
const dashboardUrl = hubConfig ? `http://${ip}:${HUB_EXTERNAL_PORT}?token=${hubConfig.masterToken}` : null;
|
|
4771
|
-
if (
|
|
4771
|
+
if (dashboardUrl && !options.noQr) {
|
|
4772
|
+
if (!isFirstSession) {
|
|
4773
|
+
console.log(`
|
|
4774
|
+
Session "${cmd}" registered with hub.`);
|
|
4775
|
+
}
|
|
4772
4776
|
displayQR(dashboardUrl);
|
|
4773
|
-
console.log(` Dashboard: ${dashboardUrl}`);
|
|
4774
|
-
} else if (isFirstSession && !options.noQr) {
|
|
4775
|
-
const directUrl = `http://${ip}:${port}?token=${token}`;
|
|
4776
|
-
displayQR(directUrl);
|
|
4777
4777
|
} else if (dashboardUrl) {
|
|
4778
4778
|
console.log(`
|
|
4779
4779
|
Session "${cmd}" registered with hub.`);
|
|
@@ -4809,6 +4809,10 @@ async function main() {
|
|
|
4809
4809
|
process.stdout.on("resize", handleResize);
|
|
4810
4810
|
handleResize();
|
|
4811
4811
|
async function cleanup() {
|
|
4812
|
+
process.stdout.write(
|
|
4813
|
+
"\x1B[>0u\x1B[?2004l\x1B[?1000l\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?25h\x1B[?1049l"
|
|
4814
|
+
// Exit alternate screen buffer (if active)
|
|
4815
|
+
);
|
|
4812
4816
|
if (process.stdin.isTTY) {
|
|
4813
4817
|
process.stdin.setRawMode(false);
|
|
4814
4818
|
}
|