Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
123456789101112131415161718192021222324package tea
// TerminalVersionMsg is a message that represents the terminal version.type TerminalVersionMsg struct { Name string}
// String returns the terminal name as a string.func (t TerminalVersionMsg) String() string { return t.Name}
// terminalVersion is an internal message that queries the terminal for its// version using XTVERSION.type terminalVersion struct{}
// RequestTerminalVersion is a command that queries the terminal for its// version using XTVERSION. Note that some terminals may not support this// command. Use [WithInput] to enable input, since the reply cannot be read// otherwise.func RequestTerminalVersion() Msg { return terminalVersion{}}