aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index c0da80b..e3f0a1b 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,15 @@ Fields: `kind`, `group` (a tmux session, a workspace), `groupNumber`,
optional; names are cut to 128 bytes. A place given this way stands until
the next one, so the extension can update it whenever it likes.
+## Questions
+
+A dialog another extension shows in pi's terminal (`ctx.ui.select`,
+`confirm`, `input`) is asked of PiRC's clients too, and whichever answers
+first wins: an answer from a client closes the terminal's dialog. An
+editor or a custom dialog is shown to clients as waiting, and answered
+only in the terminal. This wraps pi's `ui` object, which pi does not
+document; if a pi version stops allowing it, `/pirc status` says so.
+
## Opening new agents
A client can stop a pi, and open a new one beside it: in tmux, a window