microsoft/Terminal

Background image should (optionally?) render pixel-for-pixel rather than scaling with the system scale

开放

#5,480 创建于 2020年4月23日

 (2 条评论) (0 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-TerminalControlHelp WantedIssue-BugPriority-3Product-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Description of the new feature/enhancement

This might be related to #2370, but it addresses a slightly different problem.

Currently, Windows Terminal scales the background image according to your system UI scale. So, for example, if your UI scale is set to 150% in Windows Settings, and you set a 100×100-pixel background image with backgroundImageStretchMode: none, the image will be rendered at 150×150. This might not be what you want, since the scaling will blur sharp edges, and the image will be much larger than you might have expected.

Proposed technical implementation details (optional)

There should be some way to indicate that we want our background image to render pixel-for-pixel, rather than be enlarged according to the UI scale.

Or else maybe it should simply render pixel-for-pixel by default. This was my expectation; not sure if it matches the expectation of others.

贡献者指南