yr.session_title

session_title(
    title: str,
) → None

Set the title associated with the current session.

Session-aware hosts may persist and display the title. In runtimes without sessions, the emitted metadata update has no persistent effect.

Parameters

title
type: str

Title to associate with the current session.