From 06fdcc72c81f9a14fe5e67bdfe4701e6046e2d9b Mon Sep 17 00:00:00 2001 From: Sang Kil Cha Date: Sun, 30 Sep 2018 17:21:45 +0900 Subject: [PATCH 1/2] 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; From 507f4c224d2fa601a7f167871c5357b6bc32f195 Mon Sep 17 00:00:00 2001 From: Sang Kil Cha Date: Sun, 30 Sep 2018 17:29:26 +0900 Subject: [PATCH 2/2] Remove swap file --- Terminal.Gui/.editorconfig.swp | Bin 4096 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Terminal.Gui/.editorconfig.swp diff --git a/Terminal.Gui/.editorconfig.swp b/Terminal.Gui/.editorconfig.swp deleted file mode 100644 index f1d93dedce9eaef6484c55b34403be66ac2602a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+u+TGL00IFJ0ReKS7#MOh(@RrxU?RBbOy9(0y`22yL;`B{lgo^2=Fo(8ySMLy0Vg@ pg0N61C5Daa9Swoe5Eu=C(GVC7fzc2c4S~@R7!85Z5Ex=1004T#89@L5