PowerShell / PowerShell/PowerShellEditorServices
Bring your own ReadLine
オープン
まだ誰も着手していません。
Area-ReadLine
Issue-Bug
Up for Grabs
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
説明
The Problem
I am unable to create a web based script editor with a terminal because both PSReadline and LegacyReadLine ultimately call Console.GetKey and Console.Write, causing the input and output to be mapped to the calling process’s Console.
Suggested Fix
Add a -UseUnderlyingHostReadline switch and change the following code:
To call _underlyingHostUI.ReadLine() if -UseUnderlyingHostReadline is specified
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている ReadLine 実装の EditorServicesConsolePSHostUserInterface.cs から開始し、ホスト オプションがどのように構成されているかを追跡します。-UseUnderlyingHostReadline スイッチをどこで宣言して渡すことになるかを確認し、次に、それを有効にすると基盤となるホスト UI の ReadLine が使用され、既定の動作は変更されないことを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100