Skip to content

v1.5.0

Compare
Choose a tag to compare
@hymkor hymkor released this 06 Oct 04:26
· 17 commits to master since this release
  • Implement the prediction like PowerShell 7

It is enabled with setting the escape sequences at starting and ending for drawing predicted text


  • PowerShell 7 風の入力予測機能の実装

次のように表示部分の表示開始・終了時のエスケープシーケンスを設定することで有効化される


editor := &readline.Editor{
    PredictColor: [...]string{"\x1B[3;22;34m", "\x1B[23;39m"},
}

__predict