We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062f6b8 commit 17ab08cCopy full SHA for 17ab08c
1 file changed
src/libtmux/window.py
@@ -472,7 +472,10 @@ def show_options(
472
473
window_options: "WindowOptionDict" = {}
474
for item in output:
475
- key, val = shlex.split(item)
+ try:
476
+ key, val = shlex.split(item)
477
+ except ValueError:
478
+ logger.exception(f"Error extracting option: {item}")
479
assert isinstance(key, str)
480
assert isinstance(val, str)
481
0 commit comments