Commit baddfcf
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 5f4ea02 commit baddfcf
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
366 | 367 | | |
367 | | - | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments