git-watchtower 1.11.8 → 1.11.9

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.
@@ -2221,6 +2221,9 @@ function setupKeyboardInput() {
2221
2221
  process.stdin.resume();
2222
2222
  process.stdin.setEncoding('utf8');
2223
2223
 
2224
+ // Suppress EIO errors that occur when the PTY is torn down during exit
2225
+ process.stdin.on('error', () => {});
2226
+
2224
2227
  process.stdin.on('data', async (key) => {
2225
2228
  // Handle search mode input via actions module
2226
2229
  if (store.get('searchMode')) {
@@ -3225,6 +3228,7 @@ async function shutdown() {
3225
3228
  if (process.stdin.isTTY) {
3226
3229
  process.stdin.setRawMode(false);
3227
3230
  }
3231
+ process.stdin.pause();
3228
3232
 
3229
3233
  if (fileWatcher) fileWatcher.close();
3230
3234
  if (pollIntervalId) clearTimeout(pollIntervalId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-watchtower",
3
- "version": "1.11.8",
3
+ "version": "1.11.9",
4
4
  "description": "Terminal-based Git branch monitor with activity sparklines and optional dev server with live reload",
5
5
  "main": "bin/git-watchtower.js",
6
6
  "bin": {