浏览代码

Added single and double quotes

tznind 2 年之前
父节点
当前提交
0304656a19
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 4 - 0
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -1900,6 +1900,10 @@ namespace Terminal.Gui {
 			case "]":
 			case "]":
 				remappedkey = ConsoleKey.Oem6;
 				remappedkey = ConsoleKey.Oem6;
 				break;
 				break;
+			case "\"":
+			case "'":
+				remappedkey = ConsoleKey.Oem7;
+				break;
 
 
 			/*TODO: I'm guessing that this is not right*/
 			/*TODO: I'm guessing that this is not right*/
 			case "\n":
 			case "\n":