package tcell import "time" // EventRaw is an event where tcell was not able to // parse the escape sequence, so the escape sequence is // sent directly to the application type EventRaw struct { t time.Time esc string // The escape code } // When returns the time when this EventMouse was created. func (ev *EventRaw) When() time.Time { return ev.t } func (ev *EventRaw) EscSeq() string { return ev.esc } func NewEventRaw(code string) *EventRaw { return &EventRaw{ t: time.Now(), esc: code, } }