Commit 9de78b1
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 6914a71 commit 9de78b1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
356 | 357 | | |
357 | | - | |
| 358 | + | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| |||
0 commit comments