DEC private 47/1047 not supported (alt buffer)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- cli, operating-systems
Research direction
Start by reproducing the issue in Windows Terminal with printf '\e[?47h' and the equivalent 1047 and 1048 sequences, then trace the existing handling for DEC private mode 1049. Done means modes 47 and 1047 switch to and from the alternate screen without cursor save/restore or clearing, with 1048 behavior checked as requested.
Written by the indexing model from the issue text.
Description
Environment
Windows build number: Win32NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0
Steps to reproduce
printf '\e[?47h'
or the same with 1047, and l.
Expected behavior
DEC private mode controls 47 and 1047 should switch to/from the alternate screen, just as 1049 already does in WT. Except that these shouldn't save and restore the cursor and clear the alternate screen.
Current terminfo uses 1049 for TERM=xterm-256color and friends, but older systems or apps not relying on terminfo might still emit the older 47 or 1047.
(While at it, please check 1048 too, I haven't checked that one.)
Actual behavior
Nothing happens on these.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/terminal
-
Area-Settings Issue-Bug Priority-3 Product-Terminal
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Area-Schema Help Wanted In-PR Issue-Task Product-Terminal
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Issue-Feature Needs-Tag-Fix Needs-Triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Issue-Feature Needs-Tag-Fix Needs-Triage
Difficulty 3/5 1-2 days Newbie friendliness 66/100
-
Issue-Bug Needs-Triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in microsoft/terminal
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·