From b32900a7d426f06ee1bd2f69d8cf7899034f5470 Mon Sep 17 00:00:00 2001 From: defanor Date: Thu, 21 Dec 2017 09:23:21 +0300 Subject: Retain position on redisplay, reload, etc Based on line numbers that are attached to document blocks, not dependent on window/terminal width. Some bits can still be refined/refactored, but here's the initial support. --- pancake.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pancake.1') diff --git a/pancake.1 b/pancake.1 index 38db77a..764b104 100644 --- a/pancake.1 +++ b/pancake.1 @@ -41,7 +41,7 @@ show a help message .IP "\fB?\fR" show current URI .IP "RET (empty)" -show the next 2/3 of a page, if pagination is enabled +show the next page, if pagination is enabled .IP "\fIURI\fR" follow an URI, possibly relative to the current one .IP "\fItype\fR \fIURI\fR" @@ -62,6 +62,8 @@ run a query using a shortcut defined in the configuration (e.g., search) .IP "\fBset width\fR[ \fIcolumns\fR]" set terminal/window width manually +.IP "\fBset position\fR[ \fIline\fR]" +set current terminal/window line .IP "\fBredisplay\fR" redisplay current document -- cgit v1.2.3