Skip to content
Myr

Ignore controls chars for bracketed paste mode

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #594

authored by Junegunn Choi · committed by Junegunn Choi · parent d91c3a2 · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:src/curses/curses.go+5 added
484 unmodified lines
485 case 49:486 return Event{F10, 0, nil}487 }488 }489 // Bracketed paste mode \e[200~ / \e[201490 if _buf[3] == 48 && (_buf[4] == 48 || _buf[4] == 49) && _buf[5] == 126 {491 *sz = 6492 return Event{Invalid, 0, nil}493 }494 return Event{Invalid, 0, nil} // INS495 case 51:496 return Event{Del, 0, nil}497 case 52:
141 unmodified lines