We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76633e0 commit 48ea529Copy full SHA for 48ea529
terminal.go
@@ -498,7 +498,7 @@ func (t *Terminal) historyAdd(entry string) {
498
// handleKey processes the given key and, optionally, returns a line of text
499
// that the user has entered.
500
func (t *Terminal) handleKey(key rune) (line string, ok bool) {
501
- if t.pasteActive && key != keyEnter {
+ if t.pasteActive && key != keyEnter && key != keyLF {
502
t.addKeyToLine(key)
503
return
504
}
0 commit comments