Skip to content

smelt.session.slug

Availability: Terminal UI only; raises in headless mode.

Session slug. Use smelt.session.slug.get() to read it. Writing flows through smelt.session.title.set(title, slug).

smelt.session.slug.get

fun(): string?

Return the current session slug, or nil when it has not been set.