M CHANGELOG => CHANGELOG +1 -0
@@ 3,6 3,7 @@
## 2.3 - Unreleased
- offpunk/netcache: fix IPv6 as an URL (bug #40)
- ansicat: display empty files (instead of opening them with xdg-open)
+- fix escape sequence warning in python 3.12 (by Étienne Mollier) (Debian #1064209)
## 2.2 - February 13th 2023
- cache folder is now configurable through $OFFPUNK_CACHE_PATH environment variable (by prx)
M opnk.py => opnk.py +1 -1
@@ 49,7 49,7 @@ else:
# are there on purpose (surch in asciiart)
#--incsearch : incremental search starting rev581
def less_cmd(file, histfile=None,cat=False,grep=None):
- less_prompt = "page %%d/%%D- lines %%lb/%%L - %%Pb\%%"
+ less_prompt = "page %%d/%%D- lines %%lb/%%L - %%Pb\\%%"
if less_version >= 581:
less_base = "less --incsearch --save-marks -~ -XRfWiS -P \"%s\""%less_prompt
elif less_version >= 572: