Releases: nyaosorg/go-readline-ny
Releases · nyaosorg/go-readline-ny
v1.5.0
- Implement the prediction like PowerShell 7
It is enabled with setting the escape sequences at starting and ending for drawing predicted text
次のように表示部分の表示開始・終了時のエスケープシーケンスを設定することで有効化される
editor := &readline.Editor{
PredictColor: [...]string{"\x1B[3;22;34m", "\x1B[23;39m"},
}
v1.4.1
- 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
↑
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
- #6 Fix: Sub package completion fails on empty field (Thanks @glejeune)
- #6 サブパッケージ completion で、空状態で補完するとクラッシュする不具合を修正 (Thanks @glejeune )
v1.3.0
- 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
"go-readline-ny/keys"
: Key name constants are now untyped (originally keys.Code
)
"go-readline-ny/keys"
: キーの名前定数は型無しとした (元々は keys.Code
だった)
v1.1.0
- "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
- 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
- Just changed the version to v1.0.0
v0.15.2
- 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.Next
が CursorPositionDummyRune
(U+E000) を受けとれない問題を修正
(ColorSequence) Chain
を追加 (二つのColorSequenceを連結する)