microsoft/Terminal

"less" pager renders in the wrong color when started at the bottom of the screen from powershell

オープン

#3,218 opened on 2019/10/16

 (9 件のコメント) (3 件のリアクション) (0 人の担当者)C++ (9,275 件のフォーク)batch import
Area-OutputArea-RenderingHelp WantedIssue-BugPriority-3Product-Conpty

Repository metrics

Stars
 (103,173 個のスター)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Environment

Windows build number: 10.0.18362.356
Windows Terminal version (if applicable): 0.5.2762.0

Any other software? less pager (https://chocolatey.org/packages/Less)

Steps to reproduce

Open PowerShell Tab less <somefile> will show the file in foreground color gci less <somefile> will show the file in black color

Expected behavior

<somefile> should be shown in foreground color

Actual behavior

Somehow, after "gci" the file is shown in black. This does not happen with Cmd (note: at least when I tried to reproduce it, but I believe it had happened previously with cmd as well) and it doesn't happen in PowerShell or Cmd standalone (same note applies).

コントリビューターガイド