From 6916b101575735b69f1cbe52f3a568a821addd00 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 5 Aug 2019 13:12:28 +0200 Subject: [PATCH] Clarify Home/End escape sequences. --- doc/03.rawInputAndOutput.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/03.rawInputAndOutput.md b/doc/03.rawInputAndOutput.md index a64af85..807f541 100644 --- a/doc/03.rawInputAndOutput.md +++ b/doc/03.rawInputAndOutput.md @@ -557,9 +557,10 @@ Now let's implement the Home and End keys. Like the previous keys, these keys also send escape sequences. Unlike the previous keys, there are many different escape sequences that could be sent by these keys, depending on your OS, or your terminal emulator. The Home key could -be sent as `[1~`, `[7~`, `[H`, or `OH`. Similarly, the -End key could be sent as `[4~`, `[8~`, `[F`, or -`OF`. Let's handle all of these cases. +be sent as `[1~`, `[7~`, `[H`, or `OH` (this is the letter O +followed by H). Similarly, the End key could be sent as `[4~`, +`[8~`, `[F`, or `OF` (this is the letter O followed by F). Let's +handle all of these cases. {{detect-home-end}}