From bc5cb00b388ea3385105137b227b150421d62ecd Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Fri, 11 Jul 2025 17:57:31 -0700 Subject: [PATCH] keyLF is as much of a key as keyCtrlD so removing the comment --- terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.go b/terminal.go index 956b193..1d7c97f 100644 --- a/terminal.go +++ b/terminal.go @@ -146,7 +146,7 @@ const ( keyCtrlD = 4 keyCtrlU = 21 keyEnter = '\r' - keyLF = '\n' // technically not a key (unless a user uses Ctrl+J), but needed for bracketed paste mode with `\n`s. + keyLF = '\n' keyEscape = 27 keyBackspace = 127 keyUnknown = 0xd800 /* UTF-16 surrogate area */ + iota