Update json_ui documentation to match current protocol
This commit is contained in:
parent
292efe1b37
commit
09c514901d
|
@ -57,7 +57,12 @@ The requests that the json ui can interpret on stdin are:
|
||||||
|
|
||||||
* keys(String key1, String key2...): keystrokes
|
* keys(String key1, String key2...): keystrokes
|
||||||
* resize(int rows, int columns): notify ui resize
|
* resize(int rows, int columns): notify ui resize
|
||||||
* mouse(String type, int line, int column): mouse event, type
|
* scroll(int amount): scroll by given line amount
|
||||||
can be: 'move', 'press', 'release', 'wheel_up', 'wheel_down',
|
* mouse(String type, int line, int column): mouse event. line and column relate to
|
||||||
line, column is the cursor position.
|
the cursor position. type can be:
|
||||||
|
- 'move'
|
||||||
|
- 'press_left'
|
||||||
|
- 'press_right'
|
||||||
|
- 'release_left'
|
||||||
|
- 'release_right'
|
||||||
* menu_select(int index): explicit select of given menu entry
|
* menu_select(int index): explicit select of given menu entry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user