Skip to content

Update ControlSequenceLength to handle colon VT param separators - #14942

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
jazzdelightsme:user/danthom/handleVtColonParams
May 6, 2021
Merged

Update ControlSequenceLength to handle colon VT param separators#14942
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
jazzdelightsme:user/danthom/handleVtColonParams

Conversation

@jazzdelightsme

@jazzdelightsme Dan Thompson (jazzdelightsme) commented Mar 4, 2021

Copy link
Copy Markdown
Contributor

The ControlSequenceLength function calculates the length of a VT control
sequence--used by LengthInBufferCells. SGR control sequences might have
parameters, separated by semicolons... or possibly colons. See:

microsoft/terminal#4321

This change updates ControlSequenceLength to treat colons similarly to
semicolons.

PR Summary

PR Context

PR Checklist

The ControlSequenceLength function calculates the length of a VT control
sequence--used by LengthInBufferCells. SGR control sequences might have
parameters, separated by semicolons... or possibly colons. See:

microsoft/terminal#4321

This change updates ControlSequenceLength to treat colons similarly to
semicolons.
@iSazonov

Copy link
Copy Markdown
Collaborator

/azp run PowerShell-CI-static-analysis

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@ghost ghost added the Review - Needed The PR is being reviewed label Mar 16, 2021
@ghost

Copy link
Copy Markdown

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@daxian-dbw

Copy link
Copy Markdown
Member

/azp run PowerShell-CI-static-analysis

@ghost ghost removed the Review - Needed The PR is being reviewed label May 5, 2021
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 32a38fc into PowerShell:master May 6, 2021
@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label May 26, 2021
@ghost

Copy link
Copy Markdown

🎉v7.2.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants