@staff0rd/assist 0.278.0 → 0.280.0
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/README.md +1 -1
- package/dist/commands/sessions/web/bundle.js +54 -54
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.280.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -5327,12 +5327,12 @@ function reExecWebServer(deps2 = {}) {
|
|
|
5327
5327
|
}
|
|
5328
5328
|
|
|
5329
5329
|
// src/commands/sessions/web/restartMenu/resolveOptions.ts
|
|
5330
|
-
var
|
|
5330
|
+
var CTRL_R = String.fromCharCode(18);
|
|
5331
5331
|
function resolveOptions(options2) {
|
|
5332
5332
|
return {
|
|
5333
5333
|
stdin: options2.stdin ?? process.stdin,
|
|
5334
5334
|
out: options2.out ?? process.stdout,
|
|
5335
|
-
toggleKey: options2.toggleKey ??
|
|
5335
|
+
toggleKey: options2.toggleKey ?? CTRL_R,
|
|
5336
5336
|
exit: options2.exit ?? ((code) => process.exit(code)),
|
|
5337
5337
|
restartDaemonFn: options2.restartDaemonFn ?? restartDaemon,
|
|
5338
5338
|
reExecFn: options2.reExecFn ?? reExecWebServer,
|
|
@@ -5363,7 +5363,7 @@ function installRestartMenu(options2 = {}) {
|
|
|
5363
5363
|
}
|
|
5364
5364
|
});
|
|
5365
5365
|
const restoreRaw = enableRawMode(stdin, handler);
|
|
5366
|
-
console.log(chalk47.dim("Press Ctrl+
|
|
5366
|
+
console.log(chalk47.dim("Press Ctrl+R for the restart menu"));
|
|
5367
5367
|
let cleaned = false;
|
|
5368
5368
|
function cleanup() {
|
|
5369
5369
|
if (cleaned) return;
|