Closed Bug 1798992 Opened 3 years ago Closed 3 years ago

MozillaBuild 4.0.2 MSYS2 shell does not always interpret ANSI escape sequences correctly

Categories

(Firefox Build System :: MozillaBuild, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

Details

Attachments

(1 file)

Since we do not use ConPTY we are not guaranteed that Virtual Terminal Processing is enabled by default. By setting VirtualTerminalLevel=1 in the registry with the installer, we are guaranteed that Virtual Terminal Processing is enabled, and it fixes the problem regardless of the terminal being used.

We do allow people to use Mach outside of MozillaBuild, but this change should cover that scenario as well, since we still expect MozillaBuild to be installed.

Attachment #9301886 - Attachment description: Bug 1798922 - Set `VirtualTerminalLevel=1` in the registry to guarantee that Virtual Terminal Processing is enabled so that ANSI escape sequences are interpreted correctly in the console r?#build → Bug 1798992 - Set `VirtualTerminalLevel=1` in the registry to guarantee that Virtual Terminal Processing is enabled so that ANSI escape sequences are interpreted correctly in the console r?#build
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: