forked from smtg-ai/claude-squad
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfix.patch
More file actions
28 lines (23 loc) · 832 Bytes
/
fix.patch
File metadata and controls
28 lines (23 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- session/mux/multiplexer.go
+++ session/mux/multiplexer.go
@@ -691,12 +691,12 @@
return 1, err
}
- // Handle terminal resize (SIGWINCH)
+ // Handle terminal resize (SIGWINCH) - uses local signal handler wrapper for cross-platform support
sigwinch := make(chan os.Signal, 1)
- signal.Notify(sigwinch, syscall.SIGWINCH)
+ notifyWinch(sigwinch)
// Handle termination signals
sigterm := make(chan os.Signal, 1)
signal.Notify(sigterm, syscall.SIGINT, syscall.SIGTERM)
@@ -738,12 +738,12 @@
return 1, err
}
- // Handle terminal resize (SIGWINCH)
+ // Handle terminal resize (SIGWINCH) - uses local signal handler wrapper for cross-platform support
sigwinch := make(chan os.Signal, 1)
- signal.Notify(sigwinch, syscall.SIGWINCH)
+ notifyWinch(sigwinch)
// Handle termination signals
sigterm := make(chan os.Signal, 1)