Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bring your own ReadLine

オープン
#1,722 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, powershell

調査の方向性

リンクされている ReadLine 実装の EditorServicesConsolePSHostUserInterface.cs から開始し、ホスト オプションがどのように構成されているかを追跡します。-UseUnderlyingHostReadline スイッチをどこで宣言して渡すことになるかを確認し、次に、それを有効にすると基盤となるホスト UI の ReadLine が使用され、既定の動作は変更されないことを検証します。

索引モデルが issue の本文から書いたものです。

説明

Area-ReadLine Issue-Bug Up for Grabs

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:

** https://github.com/PowerShell/PowerShellEditorServices/blob/bd34695f31eebe8eaea5523a13a754da548153f5/src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostUserInterface.cs#L86**

To call _underlyingHostUI.ReadLine() if -UseUnderlyingHostReadline is specified

主要言語
C#
スター
767
フォーク
266
平均マージ
3日 16時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/PowerShellEditorServices のほかの issue

PowerShell/PowerShellEditorServices の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。