erm/app/darktile/termutil/modes.go

31 lines
749 B
Go
Raw Normal View History

2021-07-30 22:29:20 +00:00
package termutil
type Modes struct {
ShowCursor bool
ApplicationCursorKeys bool
BlinkingCursor bool
ReplaceMode bool // overwrite character at cursor or insert new
OriginMode bool // see DECOM docs - whether cursor is positioned within the margins or not
LineFeedMode bool
ScreenMode bool // DECSCNM (black on white background)
AutoWrap bool
SixelScrolling bool // DECSDM
BracketedPasteMode bool
}
type MouseMode uint
type MouseExtMode uint
const (
MouseModeNone MouseMode = iota
MouseModeX10
MouseModeVT200
MouseModeVT200Highlight
MouseModeButtonEvent
MouseModeAnyEvent
MouseExtNone MouseExtMode = iota
MouseExtUTF
MouseExtSGR
MouseExtURXVT
)