Allow having separate MenuComplete selection color for input line and interactive menu
還沒有人認領這個 Issue。
評估
研究方向
Start by tracing Set-PSReadLineOption -Colors and the MenuComplete rendering paths in the PSReadLine source. Compare how the existing Selection color is applied to the input line and interactive menu. Done means the proposed Selection and CompletionSelection colors can be configured independently, with coverage for both display contexts.
由索引模型根據 Issue 內容生成。
描述
Prerequisites
- Write a descriptive title.
Description of the new feature/enhancement
If I'm not mistaken, currently we are only able to set one color for both the MenuComplete selection on the input line and the interactive menu like the following:
But I want to do something like this:
Proposed technical implementation details (optional)
Maybe it would be great to be able to do something like the following:
$colors = @{
"Selection" = "$([char]0x1b)[38;2;0;0;0;48;2;178;255;102m" # Black text on green background for selected text in input line
"CompletionSelection" = "$([char]0x1b)[38;2;255;255;255;48;2;0;0;255m" # White text on blue background for selected completion in interactive menu
}
Set-PSReadLineOption -Colors $colors
- 主要語言
- C#
- 星號
- 4.4k
- 分支
- 342
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
PowerShell/PSReadLine 的其他 Issue
-
Get-PSReadLineOption emits the ListView window-size warning, so prompt modules trigger it on every shell start可能已有人在做 @thc1006 於 41 天前認領。 未關閉Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 78/100
PowerShell/PSReadLine#5205 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 68/100
PowerShell/PSReadLine#5195 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 72/100
PowerShell/PSReadLine#5121 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 64/100
PowerShell/PSReadLine#5045 ·
-
Area-CommandHelp Issue-Enhancement
難度 1/5 1 小時以內 新手友好度 68/100
PowerShell/PSReadLine#3470 · 3 個 reaction ·
查看 PowerShell/PSReadLine 的全部 Issue
相似的 Issue
-
Bug: Hidden loading rings keep the compositor running, so Files uses 7-94% of a CPU core while idle未關閉
難度 2/5 1-3 小時 新手友好度 72/100
files-community/Files#19026 · 1 則留言 ·
維護者通常 1 天內回覆
-
Physgun SFX Spam未關閉
難度 2/5 1-3 小時 新手友好度 62/100
-
難度 1/5 1 小時以內 新手友好度 80/100
SubtitleEdit/subtitleedit#15946 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
BHoM/Civil3D_Toolkit#118 ·
-
Reason-phrase table has misspelled entries (`Unathorized`, `Switching Protcols`, `Multiple Choises`)未關閉bug severity:low
難度 2/5 1-3 小時 新手友好度 65/100