MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / RequestProgramStatusSupport

Function RequestProgramStatusSupport

programstatus.go:53–55  ·  view source on GitHub ↗

RequestProgramStatusSupport is a command that asks the terminal whether it supports the Program Status Protocol (OSC 7501). A supporting terminal replies with a [ProgramStatusSupportMsg]. Terminals that don't support it never reply, so pick your own timeout. Use [WithInput] to enable input, since th

()

Source from the content-addressed store, hash-verified

51//
52// Detection is optional: reports can be sent without it.
53func RequestProgramStatusSupport() Msg {
54 return programStatusSupportMsg{}
55}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected