input/mode.go
raw| 1 | package input |
| 2 | |
| 3 | import "github.com/charmbracelet/x/ansi" |
| 4 | |
| 5 | // ModeReportEvent is a message that represents a mode report event (DECRPM). |
| 6 | // |
| 7 | // See: https://vt100.net/docs/vt510-rm/DECRPM.html |
| 8 | type ModeReportEvent struct { |
| 9 | // Mode is the mode number. |
| 10 | Mode ansi.Mode |
| 11 | |
| 12 | // Value is the mode value. |
| 13 | Value ansi.ModeSetting |
| 14 | } |