Skip to content

Commit bc5cb00

Browse files
committed
keyLF is as much of a key as keyCtrlD so removing the comment
1 parent 48ea529 commit bc5cb00

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
@@ -146,7 +146,7 @@ const (
146146
keyCtrlD = 4
147147
keyCtrlU = 21
148148
keyEnter = '\r'
149-
keyLF = '\n' // technically not a key (unless a user uses Ctrl+J), but needed for bracketed paste mode with `\n`s.
149+
keyLF = '\n'
150150
keyEscape = 27
151151
keyBackspace = 127
152152
keyUnknown = 0xd800 /* UTF-16 surrogate area */ + iota

0 commit comments

Comments
 (0)