Commit eccf3b9
committed
pane(fix): Unify capture_pane trimming with engine behavior
Change _trim() in capture_pane() from `line.strip() == ""` to `line == ""`
to match the trimming behavior in subprocess_engine.py and control_protocol.py.
The previous `.strip()` approach was too aggressive, removing lines that
contain only whitespace (like a shell prompt `$`), causing mismatches
between subprocess and control mode output.1 parent 88a4d84 commit eccf3b9
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
371 | 372 | | |
372 | | - | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| |||
0 commit comments