Support tcell EventPaste
This commit is contained in:
parent
1b73abcfd0
commit
cd6765673f
1 changed files with 3 additions and 0 deletions
|
@ -268,6 +268,9 @@ func (h *BufPane) HandleEvent(event tcell.Event) {
|
|||
esc: e.EscSeq(),
|
||||
}
|
||||
h.DoKeyEvent(re)
|
||||
case *tcell.EventPaste:
|
||||
h.paste(e.Text())
|
||||
h.Relocate()
|
||||
case *tcell.EventKey:
|
||||
ke := KeyEvent{
|
||||
code: e.Key(),
|
||||
|
|
Loading…
Reference in a new issue