Support paste action in terminal
@@ -90,6 +90,10 @@ func (t *TermPane) HandleEvent(event tcell.Event) {
} else if t.Status != shell.TTDone {
t.WriteString(event.EscSeq())
}
+ } else if _, ok := event.(*tcell.EventPaste); ok {
+ if t.Status != shell.TTDone {
+ t.WriteString(event.EscSeq())
+ }
} else if e, ok := event.(*tcell.EventMouse); e != nil && (!ok || t.State.Mode(terminal.ModeMouseMask)) {
// t.WriteString(event.EscSeq())
} else if e != nil {
