mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-30 05:46:50 -06:00
Whether the cursor shows the pick box came from `Prompt::picks_objects()`, which read the prompt's wording: a selection-set prompt, or a point prompt whose message starts with "Select". An `entsel`/`nentsel` prompt takes a point and is not a selection set, so it fell to the wording -- and an AutoLISP routine writes its own message, conventionally starting with a newline: (nentsel) "Select object: " pick box (nentsel "\nSelect second line or polyline: ") starts with "\n" none (entsel "\nPick a line: ") says no such word none A prompt now says that it picks one object rather than being read for it, and `GetRequest::prompt()` sets that for `GetKind::EntSel`, so all three show the pick box. The wording test is read past leading whitespace as well, so a command machine's prompt beginning with a newline is not caught by the same thing. Point modifiers (`.x`, `.y`…) are offered at a point prompt that is not a pick, so they no longer appear at an `entsel` prompt with a message -- as they never did at one without. Fix: #1598