klogg icon indicating copy to clipboard operation
klogg copied to clipboard

Pressing PgUp should disable follow mode, 2x Ctrl-End to reenable

Open wiz0u opened this issue 5 years ago • 4 comments

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)

wiz0u avatar Jan 09 '20 14:01 wiz0u

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 avatar May 20 '20 18:05 benreaves

@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)

variar avatar May 20 '20 19:05 variar

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

--

benreaves avatar May 24 '20 07:05 benreaves

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.

variar avatar Jul 13 '23 22:07 variar