From cdd720fba7a6fffd5080306901a981f69b7e5d70 Mon Sep 17 00:00:00 2001 From: Edward Wright Date: Mon, 19 Jul 2021 09:24:38 -0400 Subject: [PATCH] Added support for INS, DEL, HOME, END, PAGEUP, PAGEDOWN --- SimplySerial/SimplySerial.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index 411ae70..5a54978 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -56,7 +56,13 @@ namespace SimplySerial { ConsoleKey.UpArrow, "\x1B[A" }, { ConsoleKey.DownArrow, "\x1B[B" }, { ConsoleKey.RightArrow, "\x1B[C" }, - { ConsoleKey.LeftArrow, "\x1B[D" } + { ConsoleKey.LeftArrow, "\x1B[D" }, + { ConsoleKey.Home, "\x1B[H" }, + { ConsoleKey.End, "\x1B[F" }, + { ConsoleKey.Insert, "\x1B[2~" }, + { ConsoleKey.Delete, "\x1B[3~" }, + { ConsoleKey.PageUp, "\x1B[5~" }, + { ConsoleKey.PageDown, "\x1B[6~" } }; static void Main(string[] args)