Skip to content

Commit e2425b9

Browse files
authored
refactor: FORMAT_SEPARATOR: Change to a rarer delimeter (#475)
Fixes #471, #472
2 parents 51e1310 + 2c148f5 commit e2425b9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGES

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ $ pip install --user --upgrade --pre libtmux
1414

1515
<!-- Maintainers and contributors: Insert change notes for the next release above -->
1616

17+
### Breaking internal change
18+
19+
- Default format separator (`LIBTMUX_TMUX_FORMAT_SEPARATOR`): `|` -> `` (#475,
20+
in re: #471, #472)
21+
22+
Fixes `buffer_sample` with pipes causing `fetch_objs()`-powered listings to fail unexpectedly.
23+
1724
## libtmux 0.20.0 (2023-01-15)
1825

1926
### What's new

src/libtmux/formats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
import os
1010

11-
FORMAT_SEPARATOR = os.environ.get("LIBTMUX_TMUX_FORMAT_SEPARATOR", "|")
11+
FORMAT_SEPARATOR = os.environ.get("LIBTMUX_TMUX_FORMAT_SEPARATOR", "")
1212

1313
SESSION_FORMATS = [
1414
"session_name",

0 commit comments

Comments
 (0)