From 0b08d6862afe685fd78963808d022d7c15c89546 Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 4 May 2026 21:25:58 +0200 Subject: [PATCH] doc: update `preview_item` field --- doc/artio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/artio.txt b/doc/artio.txt index 16f5731..308a2bb 100644 --- a/doc/artio.txt +++ b/doc/artio.txt @@ -185,7 +185,7 @@ API-PICKER *artio-api-picker* first argument and the item id as the second. - {get_items}? (`fun(input: string): artio.Picker.item[]`) - {format_item}? (`fun(item: any): string`) - - {preview_item}? (`fun(item: any): integer, fun(win: integer)`) + - {preview_item}? (`fun(item: any): {buf?:integer, pos?:[integer,integer], pos_end?:[integer,integer]}`) - {get_icon}? (`fun(item: artio.Picker.item): string, string`) - {hl_item}? (`fun(item: artio.Picker.item): artio.Picker.hl[]`) - {on_quit}? (`fun()`) -- 2.51.2