~lioploum/offpunk

6484cf3426e8141c6a482f24b9c738a2fc247ce0 — Ploum 3 months ago 1cd3311
less prompts: last line of the screen
1 files changed, 1 insertions(+), 1 deletions(-)

M opnk.py
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 %%l/%%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: