From 895937913f556678df5a87424176bb7adad4c9aa Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Sun, 21 Jun 2026 12:16:35 +0300 Subject: [PATCH] fix(modify): register TORIENT in the autocomplete command registry TORIENT dispatched on a literal match but had no CommandRegistration entry, so it never surfaced in command-line autocomplete. Add the inventory submit like the other interactive commands. Co-Authored-By: Claude Opus 4.8 --- src/modules/draw/modify/torient.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/draw/modify/torient.rs b/src/modules/draw/modify/torient.rs index 4bf0f5111..494d0c0f2 100644 --- a/src/modules/draw/modify/torient.rs +++ b/src/modules/draw/modify/torient.rs @@ -185,3 +185,6 @@ impl CadCommand for TorientCommand { matches!(self.step, Step::AngleOrFirstPoint) } } + +// ── Autocomplete registry ───────────────────────────────── +inventory::submit!(crate::command::CommandRegistration { names: &["TORIENT"] });