missed a spot

This commit is contained in:
Laurent Demailly
2025-07-11 17:36:03 -07:00
parent 76633e06ae
commit 48ea529018

View File

@@ -498,7 +498,7 @@ func (t *Terminal) historyAdd(entry string) {
// handleKey processes the given key and, optionally, returns a line of text
// that the user has entered.
func (t *Terminal) handleKey(key rune) (line string, ok bool) {
if t.pasteActive && key != keyEnter {
if t.pasteActive && key != keyEnter && key != keyLF {
t.addKeyToLine(key)
return
}