mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-27 22:06:31 +02:00
ext_panel_dialog.Render sniffs the leading glyph of each panel line to decide which row is selected and apply the theme's selection band: today that's '> ' (U+25B8) or '* ' (U+25CF), both visible. Extensions that want the highlight without a visible glyph had no way to opt in - they had to ship the arrow. Adds U+200B (zero-width space) as a third recognised prefix. Extensions can now emit '\u200B' at the start of the selected row to get the blue selection band without any visible marker; the character renders as zero columns so other rows that omit it line up perfectly. The visible arrow markers keep working unchanged. Used by zot-workspaces to highlight the cursor row without inserting a triangle into the otherwise clean list. |
||
|---|---|---|
| .. | ||
| extensions | ||
| modes | ||
| tools | ||
| args.go | ||
| botcmd.go | ||
| botcmd_unix.go | ||
| botcmd_windows.go | ||
| build.go | ||
| build_test.go | ||
| changelog.go | ||
| cli.go | ||
| config.go | ||
| extcmd.go | ||
| modelsync.go | ||
| rpc.go | ||
| settings_store.go | ||
| swarm_agent.go | ||
| swarm_agent_test.go | ||
| systemprompt.go | ||
| update.go | ||
| updatecmd.go | ||