antonmedv / fx

Terminal JSON viewer & processor
https://fx.wtf
MIT License
19.01k stars 441 forks source link

Collapse All (E keybingind) not working #320

Open smjure opened 2 months ago

smjure commented 2 months ago

I have json line-by-line file. If I collapse few lines and then press e keybinding, it works well, i.e. all collapsed lines are expanded, but vice versa to collapse all (expanded) lines by pressing E keybinding does not work. What it does is, it goes to the top of the opened file. I have the latest fx version.

antonmedv commented 2 months ago

I didn't get it

We have others buildings like shift arrows. Or like numbers to expand to specific level.

smjure commented 2 months ago

Thank you for the answer. As seen from --help, the E keybinding should collapse all the json lines (just the opposite of e ), or? image

antonmedv commented 2 months ago

Yes, Looks like working for me.

smjure commented 2 months ago

Strange, I've tested it now on 3 differenc computers, different setups and it doesn't work. Maybe I don't understand it well, i.e. when one opens a json line-by-line file, all lines are expanded by default, E (capital) should collapse them or? On the other hand, if you collapse line(s) and then pressing e does expand them all as according to the --help.

antonmedv commented 2 months ago

Please show the video. Don't understand.