New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page keeps scrolling with journalctl #7
Comments
Hello, Page buffer start "scrolling" because Option to read text on-demand would improve situation at least partially. Currently it's hard to figure out a proper implementation, but it definitely should be done |
I see, that makes sense now. Solution with increasing limit is more or less temporary, sooner or later someone might end with longer file. For instance, my Reading on-demand could be a solution, but I understand that it is difficult to implement, given that nvim potentially should be few with new data in many, many cases (crossing boundaries of buffer, searching for string, etc.) This issue prevents me from setting page as my system-wide pager, but it is nonetheless very useful for things like git aliases with custom output that vim don't know how to colourize. Thank you very much for this utility! :-) |
Temporary solution is implemented in new version. It's not very elegant, since requires querying for more text manually with But at least it could prevent eager text loading and unwanted initial scrolling. |
Thank you, |
Is But anyway, I really hope that neovim will provide option for unlimited scrollback which would resolve all of this sort of problems. |
Yes, you are right. In case of journalctl most lines are thankfully within one line length limit. I've seen your issue on neovim project, hopefully it will be resolved quickly. =) |
Recent page version gained |
Hello,
I just installed latest git version of
page
from AUR, it's truly fantastic, but I've noticed issue withjournalctl
(I run it withPAGER=page journalctl
. I also tried to runpage
with empty vimrc, like thatbut I could still observe the issue).
Problem is that nvim buffer starts scrolling on its own after few seconds. It cannot be stopped otherwise than exiting nvim, as far I can tell. Also
page
seems to be eagerly loading whole output of thejournalctl
, which can be costly. I couldn't find find switch to enable on-demand fetching more content akin to whatless
is doing.My installation:
The text was updated successfully, but these errors were encountered: