We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 534a870 commit 6439e31Copy full SHA for 6439e31
1 file changed
src/libtmux/window.py
@@ -479,7 +479,10 @@ def show_options(
479
480
window_options: "WindowOptionDict" = {}
481
for item in output:
482
- key, val = shlex.split(item)
+ try:
483
+ key, val = shlex.split(item)
484
+ except ValueError:
485
+ logger.exception(f"Error extracting option: {item}")
486
assert isinstance(key, str)
487
assert isinstance(val, str)
488
0 commit comments