Skip to content

Commit bc4c8da

Browse files
committed
Try adding space before Pane.send_keys commands so shell doesn't record a command in history.
1 parent 07c1d3d commit bc4c8da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmuxp/pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def send_keys(self, cmd, enter=True):
8181
:type enter: bool
8282
8383
"""
84-
self.tmux('send-keys', cmd)
84+
self.tmux('send-keys', ' ' + cmd)
8585

8686
if enter:
8787
self.enter()

0 commit comments

Comments
 (0)