Skip to content

refactor(viewer): centralize command prompt colon formatting in command line UI#351

Merged
mlightcad merged 1 commit into
mainfrom
refactor/centralize-command-prompt-colons
Jun 12, 2026
Merged

refactor(viewer): centralize command prompt colon formatting in command line UI#351
mlightcad merged 1 commit into
mainfrom
refactor/centralize-command-prompt-colons

Conversation

@mlightcad

@mlightcad mlightcad commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove trailing colons from English and Chinese jig prompt strings so message text stays locale-neutral.
  • Render prompt colons centrally in AcEdCommandLine (setPrompt and keyword prompts) for consistent formatting.
  • Simplify AcApSysVarCmd by dropping duplicate colon parsing now handled by the command line UI.

Test plan

  • Run drawing commands (LINE, CIRCLE, LAYER, SYSVAR) in English and Chinese locales.
  • Confirm command-line prompts show a single trailing colon with correct spacing.
  • Verify keyword prompts (e.g. Specify first point or [Close(C)]) still append options correctly.
  • Check SYSVAR prompt displays current value suffix (<value>) before the colon.

…nd line UI

Move trailing colon handling from i18n strings and individual commands into AcEdCommandLine so prompts render consistently across locales.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mlightcad mlightcad self-assigned this Jun 12, 2026
@mlightcad mlightcad added the fix A direct fix for a known issue or regression. label Jun 12, 2026
@mlightcad mlightcad merged commit d0146c6 into main Jun 12, 2026
2 checks passed
@mlightcad mlightcad deleted the refactor/centralize-command-prompt-colons branch June 12, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A direct fix for a known issue or regression.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant