[PR #4044] Remove the VT52 cursor movement operations #25617

Closed
opened 2026-01-31 09:10:37 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4044

State: closed
Merged: Yes


Summary of the Pull Request

This removes support for the the VT52 cursor movement operations, in preparation for PR #3271, since the cursor back operation conflicts with the VT100 IND sequence, which we're planning to add. Eventually these ops will be brought back as part of a proper VT52 implementation, when appropriately activated by the DECANM mode.

References

#976 #3271

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3271

Detailed Description of the Pull Request / Additional comments

The operations were removed from the OutputStateMachineEngine, and their associated test cases were removed from StateMachineExternalTest. There is no real loss of functionality here, since these sequences were never valid as implemented.

Validation Steps Performed

I've just tested manually to confirm that the sequences no longer work.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4044 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This removes support for the the VT52 cursor movement operations, in preparation for PR #3271, since the cursor back operation conflicts with the VT100 [`IND`](https://vt100.net/docs/vt510-rm/IND.html) sequence, which we're planning to add. Eventually these ops will be brought back as part of a proper VT52 implementation, when appropriately activated by the [`DECANM`](https://vt100.net/docs/vt510-rm/DECANM.html) mode. ## References #976 #3271 ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3271 ## Detailed Description of the Pull Request / Additional comments The operations were removed from the `OutputStateMachineEngine`, and their associated test cases were removed from `StateMachineExternalTest`. There is no real loss of functionality here, since these sequences were never valid as implemented. ## Validation Steps Performed I've just tested manually to confirm that the sequences no longer work.
claunia added the pull-request label 2026-01-31 09:10:37 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25617