Commit 3a54fbc
Fix incorrect comment: ConPTY sets CTRL_C ignore flag, not Rust runtime
Investigation confirmed Rust std, ctrlc crate, and portable-pty have
zero calls to SetConsoleCtrlHandler(NULL, TRUE). The inheritable ignore
flag is set by the Windows ConPTY subsystem for spawned processes.
The SetConsoleCtrlHandler(None, 0) workaround is still needed — without
it the test times out on Windows — but the comment was wrong about the
source.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4e48134 commit 3a54fbc
File tree
2 files changed
+15
-7
lines changed- crates
- pty_terminal/tests
- vite_task_bin/src/vtt
2 files changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments