From 49d9980662b123824dea607db0e764220ba5f7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 14 Aug 2022 13:22:07 +0200 Subject: xC: improve backlog helper capabilities Snippets now receive positional parameters in the form of the buffer's name in the locale encoding, and a filename if applicable (we keep passing stdin along with the filename, which happens to work out well for less(1)). The default value of the configuration option also no longer uses the "long prompt", which used to unhelpfully tell position in terms of lines, but rather sets its own prompt that counts pages, and makes sure to indicate the source buffer. The main motivation behind this change is to make the 'v' command work in less(1). LESSSECURE must be omitted from the snippet for this to work. Bump liberty to receive a config parser that allows for less convoluted escaping. --- liberty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liberty') diff --git a/liberty b/liberty index 1b9d89c..f545be7 160000 --- a/liberty +++ b/liberty @@ -1 +1 @@ -Subproject commit 1b9d89cab3bb1df73c58ccd8528eafd21a8c6e40 +Subproject commit f545be725df9195a5b5897ad95a0220acf10f148 -- cgit v1.2.3