1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-24 12:02:15 +03:00

Add documentation for the set_cursor ui call in json_ui.asciidoc

This commit is contained in:
Maxime Coste 2017-04-12 10:46:27 +01:00
parent 91bfd714e4
commit 376449f28a

View File

@ -44,6 +44,11 @@ Here are the requests that can be written by the json ui on stdout:
- modal: display the info in a way that shows Kakoune is waiting for a
special action related to it.
* info_hide()
* set_cursor(String mode, Coord coord)
set the main cursor position
mode can be:
- prompt: the coordinate line should be 0, and the cursor is in the prompt area
- buffer: the cursor is in the buffer display area
The requests that the json ui can interpret on stdin are: