MCPcopy
hub / github.com/gdamore/tcell / EventPaste

Struct EventPaste

paste.go:26–29  ·  view source on GitHub ↗

EventPaste is used to mark the start and end of a bracketed paste. An event with .Start() true will be sent to mark the start of a bracketed paste, followed by a number of keys (string data) for the content, ending with the an event with .End() true.

Source from the content-addressed store, hash-verified

24// followed by a number of keys (string data) for the content, ending with the
25// an event with .End() true.
26type EventPaste struct {
27 start bool
28 t time.Time
29}
30
31// When returns the time when this EventPaste was created.
32func (ev *EventPaste) When() time.Time {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected