-
-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing show/hide-fields command in :save-session-to #1352
Comments
Hmm, I kinda want to say this was intentional. The |
Ok, I'm fine to close this if that's the intent, working around it isn't a big deal. Just to understand the use case though, I've been using the |
Maybe take a look at #949 which has some discussion on setting up filters. How about this, I could add the Another option is to patch the format you're interested in to always have the fields hidden. For example, to patch
|
I think the commented out idea is a great idea! (and/or making it an optional parameter from the CLI) I am aware of how scriptable LNAV is, I've written many scripts now to tune it to my liking. I've been super happy with it, awesome work! To get around this issue I've been relying on the fact the |
lnav version
I believe latest
Describe the bug
:save-session
writes a list of commands, including:show-fields
andhide-fields
to a json file in the lnav home directory. But when calling:save-session-to
which produces an lnav file, these commands are not added to the output session file.To Reproduce
:hide-fields body
command:save-session-to /tmp/sesh.lnav
:hide-fields body
in the/tmp/sesh.lnav
The text was updated successfully, but these errors were encountered: