Skip to content

Buffer Restore: Fix turning off intense/faint#16970

Merged
DHowett merged 1 commit intomainfrom
dev/lhecker/961-buffer-restore-fixup
Mar 29, 2024
Merged

Buffer Restore: Fix turning off intense/faint#16970
DHowett merged 1 commit intomainfrom
dev/lhecker/961-buffer-restore-fixup

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Mar 29, 2024

This takes care of an edge case in regards to SGR 22: It turns off
both intense and faint attributes which means that we may need to
turn on one of the two if only one of them turned off.

Additionally, this removes the mapping for BottomGridline which
has no real VT equivalent anyway.

Validation Steps Performed

  • Turn session restore on
  • In pwsh write:
    "`e[1;2mboth`e[0;1mintense`e[m`n`e[1;2mboth`e[0;2mfaint`e[m"
  • Close the app and open the buffer_*.txt file next to settings.json
  • It contains... ✅
    ␛[1m␛[2mboth␛[22;1mintense␛[22m
    ␛[1m␛[2mboth␛[22;2mfaint␛[22m
    

@lhecker lhecker added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. Priority-3 A description (P3) labels Mar 29, 2024
@lhecker lhecker force-pushed the dev/lhecker/961-buffer-restore-fixup branch from a490b61 to 78c8c83 Compare March 29, 2024 14:01
@DHowett DHowett enabled auto-merge March 29, 2024 14:05
@DHowett DHowett added this pull request to the merge queue Mar 29, 2024
Merged via the queue into main with commit 9f08ee7 Mar 29, 2024
@DHowett DHowett deleted the dev/lhecker/961-buffer-restore-fixup branch March 29, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.

Projects

Status: To Consider

Development

Successfully merging this pull request may close these issues.

3 participants