Skip to content

rfc: force show/hide cursor option #56

@dwmkerr

Description

@dwmkerr

Context

Cursor rendering now respects terminal state automatically via terminal.modes.showCursor.

Potential Enhancement

If users need explicit control to force cursor on/off regardless of terminal state, we could add a parameter:

shell_screenshot({ session_id, showCursor?: 'auto' | 'show' | 'hide' })
  • auto (default): respect terminal state
  • show: always render cursor
  • hide: never render cursor

Use Cases

  • Force show cursor in TUI apps that hide it
  • Force hide cursor in shell sessions for cleaner screenshots

Please comment if you have a use case for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions