fix: issue #20 cmd-J panel tab strip visibility and output panel parity
This commit is contained in:
25
API.md
25
API.md
@@ -40,6 +40,7 @@ local meta = bds.meta.get_project_metadata()
|
||||
- [app.get_default_project_path](#appget_default_project_path)
|
||||
- [app.get_system_language](#appget_system_language)
|
||||
- [app.get_title_bar_metrics](#appget_title_bar_metrics)
|
||||
- [app.log](#applog)
|
||||
- [app.notify_renderer_ready](#appnotify_renderer_ready)
|
||||
- [app.open_folder](#appopen_folder)
|
||||
- [app.read_project_metadata](#appread_project_metadata)
|
||||
@@ -202,6 +203,30 @@ nil -- or
|
||||
local result = bds.app.get_title_bar_metrics()
|
||||
```
|
||||
|
||||
### app.log
|
||||
|
||||
Append a line to the script output stream. Multiple arguments are joined with spaces. Output appears in the desktop app's Output panel (and on stdout in the CLI); Lua's global `print` is routed the same way.
|
||||
|
||||
**Parameters**
|
||||
|
||||
- text (string, required)
|
||||
|
||||
**Response specification**
|
||||
|
||||
- Return type: `boolean`
|
||||
|
||||
**Example response**
|
||||
|
||||
```lua
|
||||
true
|
||||
```
|
||||
|
||||
**Example call**
|
||||
|
||||
```lua
|
||||
local result = bds.app.log("value")
|
||||
```
|
||||
|
||||
### app.notify_renderer_ready
|
||||
|
||||
Notify the host application that the renderer is ready.
|
||||
|
||||
Reference in New Issue
Block a user