Skip to content

Commit 6c9c249

Browse files
committed
feat: Pass enter: false (skip command) at command-level
1 parent 091cb56 commit 6c9c249

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tmuxp/workspacebuilder.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,9 @@ def get_pane_shell():
363363
suppress = True
364364

365365
enter = pconf.get("enter", True)
366-
367366
for cmd in pconf["shell_command"]:
367+
enter = cmd.get("enter", enter)
368+
368369
p.send_keys(cmd["cmd"], suppress_history=suppress, enter=enter)
369370

370371
if "focus" in pconf and pconf["focus"]:

0 commit comments

Comments
 (0)