cmdg
cmdg copied to clipboard
can't see more than N messages
Hi there!
first thanks for making your project open source. Ive been having lots of fun reading the code :)
I've been trying to read all my emails but it seems using 'less' as pager only shows a limited number in inbox however there're more than those being shown. Am I missing something?
P.D: Im using less for pager and vim as editor
Looks this is here: https://github.com/ThomasHabets/cmdg/blob/a1f84781bb3e7491dd08f1cdc6425b7e2b274155/pkg/cmdg/connection.go#L35 ?
The inbox is not using less as a pager. less
is only used to read the raw message (pressing backslash).
It is, however, only loading a limited number of messages. The initial load is "at least enough to fill the terminal from top to bottom". The logic is here.
What's needed here is to continue fetching as you scroll and things start getting into view.