We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd3ccf commit 16d4f05Copy full SHA for 16d4f05
1 file changed
src/libtmux/neo.py
@@ -180,7 +180,7 @@ def _refresh(
180
def get_output_format() -> tuple[list[str], str]:
181
"""Return field names and tmux format string for all Obj fields."""
182
# Exclude 'server' - it's a Python object, not a tmux format variable
183
- formats = [f for f in Obj.__dataclass_fields__.keys() if f != "server"]
+ formats = [f for f in Obj.__dataclass_fields__ if f != "server"]
184
tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats]
185
return formats, "".join(tmux_formats)
186
0 commit comments