mirror of
https://github.com/antonmedv/fx
synced 2024-11-19 03:25:28 +00:00
Update README.md
This commit is contained in:
parent
9291ce4397
commit
d86b06c609
13
README.md
13
README.md
@ -157,17 +157,26 @@ Start interactive mode without passing any arguments:
|
|||||||
```
|
```
|
||||||
$ curl ... | fx
|
$ curl ... | fx
|
||||||
```
|
```
|
||||||
Click on fields to expand or collapse JSON tree, use mouse wheel to scroll view. To select text, press `alt` or `option` key.
|
Click on fields to expand or collapse JSON tree, use mouse wheel to scroll view.
|
||||||
|
|
||||||
Next commands available in interactive mode:
|
Next commands available in interactive mode:
|
||||||
|
|
||||||
| Key | Command |
|
| Key | Command |
|
||||||
|-----|---------|
|
|----------------------------|-------------------------|
|
||||||
| `q` or `Esc` or `Ctrl`+`c` | Exit |
|
| `q` or `Esc` or `Ctrl`+`c` | Exit |
|
||||||
| `e`/`E` | Expand/Collapse all |
|
| `e`/`E` | Expand/Collapse all |
|
||||||
| `up`/`down` or `k`/`j` | Scroll up/down one line |
|
| `up`/`down` or `k`/`j` | Scroll up/down one line |
|
||||||
| `g`/`G` | Goto top/bottom |
|
| `g`/`G` | Goto top/bottom |
|
||||||
|
|
||||||
|
#### Selecting text
|
||||||
|
|
||||||
|
You may found what you can't just select text in fx. This is due the fact that all mouse events redirected to stdin. To be able select again you need instruct your terminal not to do it. This can be done by holding special keys while selecting:
|
||||||
|
|
||||||
|
| Key | Terminal |
|
||||||
|
|------------------|--------------|
|
||||||
|
| `Option`+`Mouse` | iTerm2 |
|
||||||
|
| `Fn`+`Mouse` | terminal.app |
|
||||||
|
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user