microsoft/Terminal

DEC private 47/1047 not supported (alt buffer)

Open

#3 082 ouverte le 5 oct. 2019

Voir sur GitHub
 (9 commentaires) (2 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-VTHelp WantedIssue-TaskProduct-Conhost

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

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.

Guide contributeur