Open ironyman opened 1 year ago
This sounds less like filtering and more like you want a panel to show search results that you can switch to and select the desired hit to move the main panel to.
Yes that's a better way to describe it!
On Wed, Jan 4, 2023, 12:17 PM Tim Stack @.***> wrote:
This sounds less like filtering and more like you want a panel to show search results that you can switch to and select the desired hit to move the main panel to.
— Reply to this email directly, view it on GitHub https://github.com/tstack/lnav/issues/1099#issuecomment-1371203773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD2VYDR2IVXYXVTAJFP5X3WQWWD5ANCNFSM6AAAAAATQL62OA . You are receiving this because you authored the thread.Message ID: @.***>
Is your feature request related to a problem? Please describe. There's no context when the only visible lines are the filtered lines.
Describe the solution you'd like This features allows the filtered results to be visible, and selecting between the filtered results will cause the other view (with all lines) to jump to the filtered line so that the context can be shown. This design is from klogg and glogg but they are GUI programs.
Describe alternatives you've considered In a single view, a few lines of context can be displayed along with the filtered line like -C option for grep. This might be easier to implement.
https://github.com/tstack/lnav/issues/838
Additional context Add any other context or screenshots about the feature request here.
This is how klogg looks as described earlier. https://klogg.filimonov.dev/screenshots/mainwindow.png