From b5fe588bace1f803fa5112fd4c41ba3ec3f4f480 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 24 Nov 2024 12:37:31 +0000 Subject: [PATCH] Fix comment about LE_EOF_ALWAYS. (The backslash-continuation inside the block comment may not technically be necessary, but I think should be harmless.) --- terminal/terminal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminal/terminal.h b/terminal/terminal.h index 947fc911..e5bb16ae 100644 --- a/terminal/terminal.h +++ b/terminal/terminal.h @@ -595,8 +595,8 @@ void lineedit_send_line(TermLineEditor *le); X(LE_INTERRUPT) /* pass SS_IP back to client on ^C */ \ X(LE_SUSPEND) /* pass SS_SUSP back to client on ^Z */ \ X(LE_ABORT) /* pass SS_ABORT back to client on ^\ */ \ - X(LE_EOF_ALWAYS) /* pass SS_EOF to client on *any* ^Z - * (X(not)just if the line buffer is empty) */ \ + X(LE_EOF_ALWAYS) /* pass SS_EOF to client on *any* ^D \ + * (not just if the line buffer is empty) */ \ X(LE_ESC_ERASES) /* make ESC erase the line, as well as ^U */ \ X(LE_CRLF_NEWLINE) /* interpret manual ^M^J the same as Return */ \ /* end of list */