File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
19
19
20
20
<!-- Maintainers, insert changes / features for the next release here -->
21
21
22
+ ### Bug fixes
23
+
24
+ - ` run_before_script() ` : Additional output capturing improvements (#960 )
25
+
22
26
## tmuxp 1.52.1 (2025-02-02)
23
27
24
28
### Bug fixes
Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ def run_before_script(
65
65
# Read one line from stderr, if available
66
66
line_err = proc .stderr .readline () if proc .stderr else ""
67
67
68
- if line_out :
68
+ if line_out and line_out . strip () :
69
69
out_buffer .append (line_out )
70
70
if is_out_tty :
71
71
sys .stdout .write (line_out )
72
72
sys .stdout .flush ()
73
73
74
- if line_err :
74
+ if line_err and line_err . strip () :
75
75
err_buffer .append (line_err )
76
76
if is_err_tty :
77
77
sys .stderr .write (line_err )
You can’t perform that action at this time.
0 commit comments