Skip to content
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

Remove input. from the input.log.entries[1113].response.headers[4].name? #165

Open
stdedos opened this issue Oct 30, 2024 · 2 comments
Open

Comments

@stdedos
Copy link

stdedos commented Oct 30, 2024

Is there a way to remove input. from the input.log.entries[1113].response.headers[4].name?

I tried to create a jq filter, dummingly thinking that the structure starts with input, whereas

$ jq 'keys' com.har
[
  "log"
]
$

😅 
@PaulJuliusMartinez
Copy link
Owner

You can use yq to yank a path to the currently focused node that you can pass to jq. There's no need to manually copy and paste the path in the status line.

Alternatively, if clipboard support isn't working, you can also press pq to print out the path on its own, then copy and paste that using an alternate method.

If you do want the full path to the exact node that's currently focused, you can also use yp.

You can see the full list of supported commands if you type :help.

@stdedos
Copy link
Author

stdedos commented Nov 4, 2024

I see, thank you!

pq is not working for me (but I am in jless 0.8.0 because of #137, so mMMV 😅)

Ofc knowing the commands is helpful - and still "I see /input.?/ as useless". Of course, I might have failed to see scenarios that it makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants