klogg
klogg copied to clipboard
Pressing PgUp should disable follow mode, 2x Ctrl-End to reenable
Currently, a bunch of keys disable Follow mode when pressed but not PgUp
Also I think pressing Ctrl-End when already at the end of the file could enable Follow mode. (this effect would be visible thanks to the yellow/grey stripes)
Even if Follow File is unchecked, it appears to be still reloading as shown here.[1] It doesn't jump to the bottom, but it does make scrolling difficult because, while scrolling, only a single line is shown. I'd like have reindexing stop when Follow File is off.
[1] https://photos.app.goo.gl/6jbyenxZvrYK86HP7
@benreaves klogg is always monitoring files for changes. Follow mode just enables auto-scrolling to the end of file. There is an option to disable file monitoring. Actually there is a bug that when file monitoring and polling are disabled, follow file does nothing (created #188 for this)
Thank you! Yes it was filesystem-change monitoring that caused problems scrolling for me. Polling is fine - I can control that frequency - but filesystem change monitoring was giving me headaches when the logfile is over a million lines, scrolling through it the refresh was so frequent that I really couldn't scroll well. Looks like it was trying to redraw the entire screen too frequently.
On Wed, May 20, 2020 at 9:36 PM Ben Reaves [email protected] wrote:
Thank you! It seems to fix the problem
On Wed, May 20, 2020 at 12:32 PM Anton Filimonov [email protected] wrote:
@benreaves https://github.com/benreaves klogg is always monitoring files for changes. Follow mode just enables auto-scrolling to the end of file. There is an option to disable file monitoring. Actually there is a bug that when file monitoring and polling are disabled, follow file does nothing.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/variar/klogg/issues/161#issuecomment-631680152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR4AWK6MKVETUN4INS72ZTRSQV3FANCNFSM4KEZQVEA .
--
Ben Reaves
--
--
Ben Reaves
--
In 23.07 builds scrolling up with keyboard will also disable follow mode. Pressing shortcur for jump to the end of file when scrolling is already at the end will enable follow mode.