lnav
lnav copied to clipboard
How to focus on the line in the center of screen?
Normally, lnav interacts with the top log line of screen.
- Is there any way to make it interact with the line in the center of screen or a specified line?
- Is there any way to highlight that focused line?
Most of the time, my eyes focus on the center area of the screen, and sometimes, I need more context from the previous lines before taking action on the focused line (e.g. marking/tagging the line)
There's currently no way to switch from a "scroll mode" to a "selection mode" where an individual message can be selected for interactions. (If that's what you're asking.)
What's available right now is enabling mouse-mode by pressing F2, which allows you to drag-select messages (although, it looks like it's only possible too select more than one line, which is wrong). There is quite a lot you can do programmatically through the SQL interface.
The v0.11.2 release should have this thanks to the work done in #1088