Skip to content

Commit 2b11045

Browse files
committed
Panes: Allow passing enter: false
1 parent 7517181 commit 2b11045

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tmuxp/workspacebuilder.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,10 @@ def get_pane_shell():
362362
else:
363363
suppress = True
364364

365+
enter = pconf.get("enter", True)
366+
365367
for cmd in pconf["shell_command"]:
366-
p.send_keys(cmd, suppress_history=suppress)
368+
p.send_keys(cmd, suppress_history=suppress, enter=enter)
367369

368370
if "focus" in pconf and pconf["focus"]:
369371
w.select_pane(p["pane_id"])

0 commit comments

Comments
 (0)