From f88d28f22a00a3893a82c12e47f6c5061c037f07 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 28 Jan 2023 09:46:28 -0600 Subject: [PATCH 1/2] =?UTF-8?q?refactor(FORMAT=5FSEPARATOR):=20|=20->=20?= =?UTF-8?q?=E2=90=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libtmux/formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtmux/formats.py b/src/libtmux/formats.py index b74bd989f..6f36799f1 100644 --- a/src/libtmux/formats.py +++ b/src/libtmux/formats.py @@ -8,7 +8,7 @@ """ import os -FORMAT_SEPARATOR = os.environ.get("LIBTMUX_TMUX_FORMAT_SEPARATOR", "|") +FORMAT_SEPARATOR = os.environ.get("LIBTMUX_TMUX_FORMAT_SEPARATOR", "␞") SESSION_FORMATS = [ "session_name", From 2c148f5cc8618ee39022a221c4541098781999c8 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sun, 29 Jan 2023 07:22:51 -0600 Subject: [PATCH 2/2] docs(CHANGES): Note separator update --- CHANGES | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index 04751ea7f..83905cd12 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,13 @@ $ pip install --user --upgrade --pre libtmux +### Breaking internal change + +- Default format separator (`LIBTMUX_TMUX_FORMAT_SEPARATOR`): `|` -> `␞` (#475, + in re: #471, #472) + + Fixes `buffer_sample` with pipes causing `fetch_objs()`-powered listings to fail unexpectedly. + ## libtmux 0.20.0 (2023-01-15) ### What's new