lnav icon indicating copy to clipboard operation
lnav copied to clipboard

How to focus on the line in the center of screen?

Open haphamdev opened this issue 4 years ago • 1 comments

Normally, lnav interacts with the top log line of screen.

  1. Is there any way to make it interact with the line in the center of screen or a specified line?
  2. 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)

haphamdev avatar Dec 24 '20 02:12 haphamdev

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.

tstack avatar Dec 24 '20 06:12 tstack

The v0.11.2 release should have this thanks to the work done in #1088

tstack avatar Jun 19 '23 04:06 tstack