feat: Phase2 Task1 — DeviceCommand添加SetCursorVisible + DeviceCapability::Cursor
This commit is contained in:
@@ -59,3 +59,13 @@
|
||||
- 所有类型正确派生 Debug, Clone, Serialize, Deserialize(跨 FFI 要求)
|
||||
- 修复了 tests.rs 中的 match 穷尽性检查(新增三个 message 变体)
|
||||
- cargo check 零 warning,cargo test 全部通过(66 个测试)
|
||||
|
||||
## 个人经验 (2026-03-13 - DevicePlugin 阶段二 Task 1)
|
||||
- 完成 DeviceCommand 扩展,添加光标控制命令
|
||||
- 在 DeviceCommand 中添加 SetCursorVisible(bool) 变体
|
||||
- 在 DeviceCapability 中添加 Cursor 变体
|
||||
- 同步更新 plugin-sdk/src/lib.rs 保持 ABI 一致性
|
||||
- 文档注释说明 Linux 平台通过 unclutter 实现光标隐藏
|
||||
- cargo check --workspace --all-targets 零 warning
|
||||
- cargo test --workspace 全部通过(73 个测试)
|
||||
- 为 Task 2(LinuxArm64Backend 实现)铺平道路
|
||||
|
||||
Reference in New Issue
Block a user