浏览代码

Cleaned up Command enum.

Tig 11 月之前
父节点
当前提交
894ca06341
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      docfx/docs/migratingfromv1.md

+ 8 - 0
docfx/docs/migratingfromv1.md

@@ -184,6 +184,14 @@ The API for handling keyboard input is significantly improved. See [Keyboard API
 + Application.KeyDown(object? sender, Key e)
 ```
 
+## [Command]((~/api/Terminal.Gui.Command.yml)) has been expanded and simplified
+
+In v1, the `Command` enum had duplicate entries and inconsistent naming. In v2 it has been both expanded and simplified.
+
+### How To Fix
+
+* Update any references to old `Command` values with the updated versions.
+
 ## Updated Mouse API
 
 The API for mouse input is now internally consistent and easier to use.