Skip to content

Commit d1568f3

Browse files
committed
Note on options error change in tmux 3.0 with show-options
1 parent f474823 commit d1568f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libtmux/common.py

+3
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ def handle_option_error(error):
647647
All errors raised will have the base error of :exc:`exc.OptionError`. So to
648648
catch any option error, use ``except exc.OptionError``.
649649
650+
In tmux 3.0, show-option and show-window-otion return invalid option instead of
651+
unknown option. See https://github.com/tmux/tmux/blob/3.0/cmd-show-options.c.
652+
650653
Parameters
651654
----------
652655
error : str

0 commit comments

Comments
 (0)