grid: implement DECCARA and DECRARA #210
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!210
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/deccara-decrara-188"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #188.
Implements the rectangular attribute-change operations DECCARA (CSI ... $r) and DECRARA
(CSI ... $t) in
felis-grid: DECCARA sets the listed SGR attributes over the rectangle,DECRARA toggles (reverses) them. Both honor DECSACE — the rectangle vs. stream selection
mode — and resolve their coordinates through the active margins and origin mode, matching
the existing rectangular ops (DECFRA/DECERA/DECCRA).
Coverage: insta snapshots per operation, the DECSACE stream/rectangle distinction, and the
margin/origin-mode cases, plus proptests alongside the existing rectangular-op properties.
Doc cascade:
docs/reference/protocols/support-matrix.mdanddocs/reference/protocols/vt-compliance.mdflip DECCARA/DECRARA to supported, andCHANGELOG.mdrecords the user-visible addition.Verified: just check green (fmt, clippy, nextest, deny, proto-compat); reviewed by pi luna
Follow-ups
Deferred
to ratchet; the floor stays at 491.
criteria; the field was already persisted across resets for the DECRQSS round-trip.
property this proptest fails to distinguish is already pinned by the paired snapshot
test (
deccara/decrara_reverses_listed_attributes_in_rectangle, which does exerciseboth toggle directions); strengthening the proptest itself is incremental hardening the
acceptance criteria do not require.