Open Natoandro opened 1 year ago
Where do you expect this to be rendered?
@gloomweaver Make a proposal, something that works well design-wise and functional-wise (e.g. think small width with multiple tabs).
I propose to do this the same as in the "more" command from linux text-utils (https://github.com/util-linux/util-linux/blob/master/text-utils/more.c). Display a percentage to indicate where are we located!
@julianojosoa13 Works! I would suggest that you tackle also https://github.com/zifeo/whiz/issues/4 in the same feature.
Display the number of lines we need to scroll down to reach the end of the buffer.
It will be in the format
M/N
, whereN
andM
are integers.N
is the height of the buffer minus the height of the screen.0/N
(not displayed) means the end of the buffer is visible;N/N
means we are at the top of the buffer.