feat(plugin): AutoCAD-compatible PAUSE, ENTER keyword, and command streaming

This commit is contained in:
yztink committed 2026-09-20 21:03:12 -07:00
1 parent fd2062bdec
commit fbedb3736e
8 files changed
+250 -3

No files matched your search

+3
View File
@@ -151,6 +151,8 @@ pub(super) struct DocumentTab {
pub(super) properties: PropertiesPanel,
pub(super) layers: LayerPanel,
pub(super) active_cmd: Option<Box<dyn CadCommand>>,
/// Remaining command tokens queued behind a PAUSE (or `\`) awaiting user interaction.
pub(super) pending_pause_tokens: Option<Vec<String>>,
/// The selection set the most recent command worked on, captured when a
/// finishing command drops the live selection — re-selectable with the
/// "Previous" keyword at any Select objects prompt (#426).
@@ -611,6 +613,7 @@ impl DocumentTab {
properties: PropertiesPanel::empty(),
layers: LayerPanel::default(),
active_cmd: None,
pending_pause_tokens: None,
last_cmd: None,
last_draw_anchor: None,
snap_result: None,