Skip to content

parseMouseArg

parseMouseArg(args, current): boolean | null

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/slashCommands.ts:511

TUI-C37 — parse /mouse [on|off]. No argument means “toggle”, which is what a bare command name usually means; null marks an argument that is neither, so the caller can say so rather than guess. resolve needs the current state only for the toggle case.

string[]

boolean

boolean | null