@@ -130,7 +130,7 @@ def send_keys(
130
130
self ,
131
131
cmd : str ,
132
132
enter : t .Optional [bool ] = True ,
133
- suppress_history : t .Optional [bool ] = True ,
133
+ suppress_history : t .Optional [bool ] = False ,
134
134
literal : t .Optional [bool ] = False ,
135
135
) -> None :
136
136
r"""``$ tmux send-keys`` to the pane.
@@ -145,7 +145,11 @@ def send_keys(
145
145
enter : bool, optional
146
146
Send enter after sending the input, default True.
147
147
suppress_history : bool, optional
148
- Don't add these keys to the shell history, default True.
148
+ Prepend a space to command to suppress shell history, default False.
149
+
150
+ .. versionchanged:: 0.14
151
+
152
+ Default changed from True to False.
149
153
literal : bool, optional
150
154
Send keys literally, default True.
151
155
@@ -155,7 +159,7 @@ def send_keys(
155
159
>>> pane.capture_pane()
156
160
['$']
157
161
158
- >>> pane.send_keys('echo "Hello world"', suppress_history=False, enter=True)
162
+ >>> pane.send_keys('echo "Hello world"', enter=True)
159
163
160
164
>>> pane.capture_pane()
161
165
['$ echo "Hello world"', 'Hello world', '$']
0 commit comments