From 06fdcc72c81f9a14fe5e67bdfe4701e6046e2d9b Mon Sep 17 00:00:00 2001 From: Sang Kil Cha Date: Sun, 30 Sep 2018 17:21:45 +0900 Subject: [PATCH] Always use an upper character for hotkey MenuItem's hotkey should always use an upper character as `Menu::ProcessKey()` always matches with an upper character. --- Terminal.Gui/Views/Menu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Views/Menu.cs b/Terminal.Gui/Views/Menu.cs index c2e35c53b..6d0a0c3c6 100644 --- a/Terminal.Gui/Views/Menu.cs +++ b/Terminal.Gui/Views/Menu.cs @@ -35,7 +35,7 @@ namespace Terminal.Gui { nextIsHot = true; else { if (nextIsHot) { - HotKey = x; + HotKey = Char.ToUpper ((char)x); break; } nextIsHot = false;