Skip to content

A soft reset (DECSTR) should not be erasing soft fonts #20581

Description

Windows Terminal version

1.25.1322.0

Windows build number

10.0.19045.6332

Other Software

No response

Steps to reproduce

  1. Download one of the example fonts from here: https://vt100.net/dec/vt320/fonts
  2. They use 8-bit escape sequences so you'll need to enable 8-bit mode first with something like echo -e '\033%@' in a WSL shell.
  3. Then cat the fnt file to download it to the terminal. All subsequent text will immediately begin using that font.
  4. Perform a soft reset with echo -e '\033[!p'.

Expected Behavior

After the soft reset, the custom font should still be active.

Quoting the DECDLD notes from DEC STD 070-10, on page 6:

A Soft Reset function (DECSTR) does not erase font files loaded by the DECDLD command

Actual Behavior

The font gets reset to the original terminal font.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebaseProduct-TerminalThe new Windows Terminal.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions