Skip to content

Releases: nyaosorg/go-readline-ny

v1.5.0

06 Oct 04:26
Compare
Choose a tag to compare
  • 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

v1.4.1

02 Oct 10:41
Compare
Choose a tag to compare
  • Enable to replace the function to calcurate the width of Zero-Width-Join-Sequence for WindowsTerminal 1.22 (SetZWJSWidthGetter)

  • WindowsTerminal 1.22 向けに、Zero Width Join Sequence の文字幅の計算関数を差し替えられるようにした(SetZWJSWidthGetter)

v1.4.0

16 Jun 11:23
Compare
Choose a tag to compare
  • Ctrl-P, , Ctrl-N: save the modified entry when switching history, and restore when switching again, until Enter is pressed

  • Ctrl-P, , Ctrl-N: 履歴を切り替えるときに変更したエントリを保存し、(Enterが入力されるまでは)再度切り替えたときに復元するようにした

v1.3.1

20 Apr 16:38
Compare
Choose a tag to compare
  • #6 Fix: Sub package completion fails on empty field (Thanks @glejeune)

  • #6 サブパッケージ completion で、空状態で補完するとクラッシュする不具合を修正 (Thanks @glejeune )

v1.3.0

17 Apr 00:54
Compare
Choose a tag to compare
  • Add constant: keys.ShiftTAB = "\x1B[Z"
  • Simplify the terminal interface and implements (Compatibility around ITty is broken)

  • 定数追加: keys.ShiftTAB = "\x1B[Z"
  • 端末のインターフェイスと実装を簡素化 (ITty 周辺の互換性破壊)

v1.2.0

29 Feb 06:07
Compare
Choose a tag to compare
  • "go-readline-ny/keys": Key name constants are now untyped (originally keys.Code)

  • "go-readline-ny/keys": キーの名前定数は型無しとした (元々は keys.Code だった)

v1.1.0

27 Feb 02:24
Compare
Choose a tag to compare
  • "completion": Append the value of CmdCompletion.Postfix or CmdCompletionOrList.Postfix instead of one space when there is only one candidate. (The default value is empty string)

  • "completion": 1候補に絞れた時に空白を追加していたが、空白のかわりに CmdCompletion.Postfix や CmdCompletionOrList.Postfix で指定できるようにした (デフォルトは0文字)

v1.0.1

08 Oct 06:00
Compare
Choose a tag to compare
  • Fix: the color can not be changed where the character is not simple codepoint such as ZERO WIDTH JOIN SEQUENCE, VARIATION SELECTOR SEQUENCE...

  • 合字や異体字など単純なコードポイントでない文字位置で色を変えられなかった問題を修正

v1.0.0

05 Oct 23:26
Compare
Choose a tag to compare
  • Just changed the version to v1.0.0

  • バージョンを v1.0.0 にしました。

v0.15.2

01 Oct 09:37
Compare
Choose a tag to compare
  • Fix: Coloring.Next(CursorPositionDummyRune) was not called when the cursor is at the end of the string
  • Add (ColorSequence) Chain that joins two instances of ColorSequence

  • カーソルが末尾にある時、Coloring.NextCursorPositionDummyRune (U+E000) を受けとれない問題を修正
  • (ColorSequence) Chain を追加 (二つのColorSequenceを連結する)