Skip to content

Commit b558d0a

Browse files
committed
Pane(fix[display_popup]): use fused -e flag format for consistency
why: All other methods (split, respawn, new_session, new_window) use the fused form (f"-e{k}={v}",) for environment flags. display_popup was the sole outlier using the separated form ("-e", f"{k}={v}"). what: - Change ("-e", f"{k}={v}") to (f"-e{k}={v}",)
1 parent 0a071d3 commit b558d0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libtmux/pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ def display_popup(
12711271
if environment:
12721272
if has_gte_version("3.3", tmux_bin=self.server.tmux_bin):
12731273
for k, v in environment.items():
1274-
tmux_args += ("-e", f"{k}={v}")
1274+
tmux_args += (f"-e{k}={v}",)
12751275
else:
12761276
warnings.warn(
12771277
"environment requires tmux 3.3+, ignoring",

0 commit comments

Comments
 (0)