-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the DECST8C escape sequence (#16534)
## Summary of the Pull Request This PR adds support for the `DECST8C` escape sequence, which resets the tab stops to every 8 columns. ## Detailed Description of the Pull Request / Additional comments This is actually a private parameter variant of the ANSI `CTC` sequence (Cursor Tabulation Control), which accepts a selective parameter which specifies the type of tab operation to be performed. But the DEC variant only defines a single parameter value (5), which resets all tab stops. It also considers an omitted parameter to be the equivalent of 5, so we support that too. ## Validation Steps Performed I've extended the existing tab stop tests in `ScreenBufferTests` with some basic coverage of this sequence. I've also manually verified that the `DECTABSR` script in #14984 now passes the `DECST8C` portion of the test. ## PR Checklist - [x] Closes #16533 - [x] Tests added/passed
- Loading branch information
Showing
9 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -443,6 +443,7 @@ DECSLPP | |
DECSLRM | ||
DECSMKR | ||
DECSR | ||
DECST | ||
DECSTBM | ||
DECSTGLT | ||
DECSTR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters