Skip to content

Commit 48ea529

Browse files
committed
missed a spot
1 parent 76633e0 commit 48ea529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ func (t *Terminal) historyAdd(entry string) {
498498
// handleKey processes the given key and, optionally, returns a line of text
499499
// that the user has entered.
500500
func (t *Terminal) handleKey(key rune) (line string, ok bool) {
501-
if t.pasteActive && key != keyEnter {
501+
if t.pasteActive && key != keyEnter && key != keyLF {
502502
t.addKeyToLine(key)
503503
return
504504
}

0 commit comments

Comments
 (0)