From e9dafd00038307faef5243d40fd7a2c0e3f14ee2 Mon Sep 17 00:00:00 2001 From: Tal Wrii Date: Sat, 28 Dec 2024 18:58:07 +0100 Subject: [PATCH] document popup --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b744090..954f361 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,14 @@ Various convenience functions are provided: * dir(o:Object) - List the property in an object ### User interface -* message(s:string) - Print a notificatoin message +* message(s:string) - Print a notification message to the corner of the screen +* popup(s: string) - Popup a dialog displaying a message * promptString(prompt: string) - Read a string from a popup * fuzzySelect(choices: Array, prompt?: string) - Select from an Array of strings * openFile(f:string) - Open a file in the current pane * openUrl(url:string) - Open a url + ### Editor commands * lineNumber() - return the line number of the current line * point() - Return the current cursor position