mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-22 05:51:34 -06:00
With the time-sensitive right-click on (the default), a quick right-click was Enter only while a command ran, and it sent a bare Enter even when something was typed. Between commands every right-click opened the shortcut menu, so typing `rec` and right-clicking opened the menu instead of starting RECTANG, and at an empty prompt it didn't repeat the last command as AutoCAD does. A quick right-click now does what the Enter key does (cmdline::submit): it enters what was typed (a command name, `@10,0`), ends the input of a running command, and between commands repeats the last one. Held, it still opens the command menu or the shortcut menu; a grip with options keeps its menu; Shift/Ctrl+right-click is still the object snap menu; with the time-sensitive right-click turned off, every right-click opens the menu. With nothing typed and no command run yet, a quick click opens the shortcut menu (there is nothing to enter). time_sensitive_right_click now also checks that a quick click between commands repeats LINE, a held one opens the menu with Repeat LINE and repeats nothing, a typed `circle` starts CIRCLE and a typed `5,5` enters its centre; these checks fail without the change. docs/ui-parity.md describes the new behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>