aptunnel 1.0.2 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aptunnel",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Cross-platform Aptible tunnel manager — multi-tunnel, auto-discovery, background process management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -273,8 +273,9 @@ function closeRL() {
273
273
  _rl.close();
274
274
  _rl = null;
275
275
  }
276
- // Ensure stdin is resumed so child processes can read from it (e.g. aptible 2FA)
277
- process.stdin.resume();
276
+ // Do NOT call process.stdin.resume() here. Flowing mode with no listener
277
+ // discards keystrokes. Child processes (aptible) read from fd 0 directly
278
+ // at OS level regardless of Node.js stream state.
278
279
  }
279
280
 
280
281
  function ask(prompt) {
@@ -93,7 +93,6 @@ function getRL() {
93
93
  }
94
94
  function closeRL() {
95
95
  if (_rl) { _rl.close(); _rl = null; }
96
- process.stdin.resume();
97
96
  }
98
97
 
99
98
  function ask(prompt) {