@navios/commander-tui 1.6.0 → 1.6.1
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/.turbo/turbo-build.log +11 -11
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test$colon$ci.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/base/src/keyboard/index.d.ts +1 -1
- package/dist/base/src/keyboard/index.d.ts.map +1 -1
- package/dist/base/src/services/screen_manager.d.ts.map +1 -1
- package/dist/base/tsconfig.tsbuildinfo +1 -1
- package/lib/index.cjs +127 -126
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +65 -65
- package/lib/index.d.cts.map +1 -1
- package/lib/index.d.mts +25 -25
- package/lib/index.d.mts.map +1 -1
- package/lib/index.mjs +127 -126
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/keyboard/index.ts +1 -1
- package/src/services/screen_manager.ts +6 -0
package/package.json
CHANGED
package/src/keyboard/index.ts
CHANGED
|
@@ -127,6 +127,12 @@ export class ScreenManagerInstance
|
|
|
127
127
|
async bind(options?: BindOptions): Promise<void> {
|
|
128
128
|
if (this.mode !== RenderMode.UNBOUND) return
|
|
129
129
|
|
|
130
|
+
// In non-interactive environments (no TTY), stay in UNBOUND mode
|
|
131
|
+
// This allows prompts to return defaults and screens to print on completion
|
|
132
|
+
if (!process.stdout.isTTY) {
|
|
133
|
+
return
|
|
134
|
+
}
|
|
135
|
+
|
|
130
136
|
this.bindOptions = options ?? {}
|
|
131
137
|
|
|
132
138
|
// Resolve theme from options
|