File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,8 @@ def set_window_option(
335
335
unset : t .Optional [bool ] = None ,
336
336
unset_panes : t .Optional [bool ] = None ,
337
337
prevent_overwrite : t .Optional [bool ] = None ,
338
+ suppress_warnings : t .Optional [bool ] = None ,
339
+ append : t .Optional [bool ] = None ,
338
340
) -> "Window" :
339
341
"""Set option for tmux window.
340
342
@@ -375,6 +377,14 @@ def set_window_option(
375
377
assert isinstance (prevent_overwrite , bool )
376
378
flags .append ("-o" )
377
379
380
+ if suppress_warnings is not None and suppress_warnings :
381
+ assert isinstance (suppress_warnings , bool )
382
+ flags .append ("-q" )
383
+
384
+ if append is not None and append :
385
+ assert isinstance (append , bool )
386
+ flags .append ("-a" )
387
+
378
388
cmd = self .cmd (
379
389
"set-window-option" ,
380
390
f"-t{ self .session_id } :{ self .window_index } " ,
You can’t perform that action at this time.
0 commit comments