We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d4f05 commit f70f14bCopy full SHA for f70f14b
1 file changed
src/libtmux/neo.py
@@ -188,7 +188,7 @@ def get_output_format() -> tuple[list[str], str]:
188
def parse_output(output: str) -> OutputRaw:
189
"""Parse tmux output formatted with get_output_format() into a dict."""
190
# Exclude 'server' - it's a Python object, not a tmux format variable
191
- formats = [f for f in Obj.__dataclass_fields__.keys() if f != "server"]
+ formats = [f for f in Obj.__dataclass_fields__ if f != "server"]
192
formatter = dict(zip(formats, output.split(FORMAT_SEPARATOR), strict=False))
193
return {k: v for k, v in formatter.items() if v}
194
0 commit comments