Comments (9)
Even doing nothing would be preferable to exiting the program. Enter is too common of a "accept my input" command and I already exited jid three times accidentally this way :)
from jid.
In the demo example
.users[1] *Tab*
- shows you the result.users[1] *Enter*
- exits the program
Its confusing when Enter
causes a program to terminate.
from jid.
What ashishg-qburst said
from jid.
What do you think Enter should do when there are no suggestions being chosen?
from jid.
Is anyone working on this? I can help to do this.
from jid.
I love jiq. But *ENTER* is my enemy :-(
I often accidentally hit enter (or more often paste something in that has a trailing "enter") and
*BAM*
the thing I almost had working is gone. Sometimes I know enough to recreate it in seconds, other times it was really complex, and I have to start over.
from jid.
I'd suggest, jid should use q
to quit.
Enter is used to select an element from the tab completion list, if there is more than one element. If there is none or one, Enter currently quits. User's are very likely to fall into this trap, as jid is meant to explore the json structure. thus we cannot expect that the user predicts the structure correctly.
When jid quits, it prints the selected value to the console. I'd also suggest to print a trailing newline. Currently the selected value just squeezes in before the prompt, and users may miss the fact, that it is actually there.
from jid.
@lodenrogue Sorry, I can't imagine your situation. Please explain me that detail?
ex. json, query, your os, etc..
from jid.
Wow I just realized I opened this in 2016. That's over 5 years ago. Any progress on this?
from jid.
Related Issues (20)
- Support for less strict JSON HOT 2
- jq's .[] filter doesn't work HOT 4
- Add coloreful output like in jq HOT 2
- Incorrect work, when json file have similar keys.
- Dot in keyname clashes with drilldown token HOT 5
- version string is old HOT 1
- Reading a file by passing it as first argument HOT 2
- .. not supported
- Does NOT work inside tmux HOT 3
- Performance is extremely slow with a 7MB JSON file HOT 3
- Replace gox with goreleaser HOT 1
- Feature request: Raw search
- Feature request: Scroll with key arrows and pageup-down HOT 2
- Feature Request: Shift+TAB to jump to previous matching key
- Feature request: Cursor navigation and node selection
- How to show the array length?
- Add support for [] HOT 8
- Loaded JSON file is one-line form inside jid HOT 4
- JSON HOT 1
- Swallows keystrokes when editing line, no error reporting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jid.