Skip to content

smelt.prompt.ghost

Tier: UiHost — Requires a terminal UI; calling these from headless mode raises.

Ghost text on the prompt — dim suggestion shown after the cursor. UiHost-only.

smelt.prompt.ghost.clear

fun(): nil

Clear the prompt's ghost text. Idempotent.

smelt.prompt.ghost.set

fun(text: string): nil

Set the prompt's ghost text (the dim suggestion shown after the cursor). Replaces any existing ghost completion.