Skip to content

Commit 7b44525

Browse files
committed
refactor!(Pane.send_keys): Default suppress_history value to False
1 parent 373baf0 commit 7b44525

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

libtmux/pane.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def send_keys(
130130
self,
131131
cmd: str,
132132
enter: t.Optional[bool] = True,
133-
suppress_history: t.Optional[bool] = True,
133+
suppress_history: t.Optional[bool] = False,
134134
literal: t.Optional[bool] = False,
135135
) -> None:
136136
r"""``$ tmux send-keys`` to the pane.
@@ -145,7 +145,11 @@ def send_keys(
145145
enter : bool, optional
146146
Send enter after sending the input, default True.
147147
suppress_history : bool, optional
148-
Don't add these keys to the shell history, default True.
148+
Don't add these keys to the shell history, default False.
149+
150+
.. versionchanged:: 0.14
151+
152+
Default changed from True to False.
149153
literal : bool, optional
150154
Send keys literally, default True.
151155

0 commit comments

Comments
 (0)