Skip to content

Releases: nyaosorg/go-readline-ny

v0.9.1

10 Apr 06:01
Compare
Choose a tag to compare
  • Fix: a trash text m was printed when Coloring.Init() / .Next() returns 0

  • Coloring.Init() / .Next() が 0 を返した時、m というゴミ文字列が表示されるのを修正

v0.9.0

09 Apr 09:35
Compare
Choose a tag to compare
  • Rename: _Cell (unexported type) to Cell (exported). A instance of Cell contains a set of code points (=Moji) and color information (unexported) for one gryph.
  • Rename: string2moji (unexported function) to StringToMoji (exported) that converts string to an array of Moji. A instance of Moji contains code points for one gryph.

For example
Emoji 👨‍🌾 (famer) is represented with three code points (U+0001F468, U+200D , and U+0001F33E). They are contained with one instance of Moji.


  • 非公開の型 _CellCell に改名(公開)。Cell のインスタンスは1文字を表すコードポイント群(=Moji)と非公開の色情報を含んでいます。
  • Moji 型の配列を文字列に変換する非公開の関数 string2mojiStringToMoji に改名(公開)。Moji のインスタンスは1文字を表すコードポイント群を保持しています。


農夫の絵文字(👨‍🌾)は3つのコードポイント (U+0001F468, U+200D , and U+0001F33E)で表されますが、Moji は1インスタンスでそれらを格納します。

v0.8.5

02 Apr 05:20
Compare
Choose a tag to compare
  • Fix: imcompatibility on v0.8.4: Restore the removed method (*KeyMap)GetBindKey(string) because v0.8.4 failed to link on nyagos

  • v0.8.4 の非互換性を修正しました。v0.8.4 は nyagos でリンクできなくなってしまっており、削除したメソッド (*KeyMap)GetBindKey(string) を復元しました。

v0.8.4

25 Mar 13:21
Compare
Choose a tag to compare
  • (*KeyMap) GetBindKey returning a mapping of keys is inconvenient to return nil, so instead created (*Editor)GetBindKey and removed (*KeyMap) GetBindKey

  • キーのマッピングを返す関数の (*KeyMap) GetBindKey が nil を返すのは都合が悪いので、 かわりに (*Editor)GetBindKey を作成し、(*KeyMap) GetBindKey は削除した

v0.8.3

24 Sep 03:43
Compare
Choose a tag to compare

Used in nyagos-4.4.13_0

  • Sample color plugin: vimbatch: change foreground color ESC[37m (white) to ESC[39m (terminal's default foreground color)

  • サンプルの色プラグイン vimbatch の文字色を ESC[37m (白) から ESC[39m (端末の標準文字色) へ変更

v0.8.2

12 Aug 13:41
Compare
Choose a tag to compare
  • Reset color before printing the first character ( it was omitted before )

v0.8.1

12 Aug 13:39
Compare
Choose a tag to compare
  • Fix: On Ctrl-E typed, sometimes non-space character remains on the cursor.

v0.8.0

29 Apr 03:15
Compare
Choose a tag to compare
  • Enable surrogate-pair on WezTerm
  • Enable surrogate-pair, ZWJ,and VS on Contour Terminal
  • Do not use BACKSPACE(\b) as output

( This version is used on nyagos 4.4.12_0 )

v0.7.0

25 Feb 16:45
Compare
Choose a tag to compare

Support transparency by Windows Terminal

  • Coloring.Init() has to return default colors (This interface's compatibility is broken)
  • Use ESC[49m (default bgcolor) instead of ESC[40m

v0.6.3

29 Dec 12:35
Compare
Choose a tag to compare

Changes in v0.6.3 (English)

  • (#2,#3) Add flag: Editor.HistoryCycling
  • Color: support Multi SelectGraphcReition Parameters (on v0.6.2)
  • Implement short function SGR1,SGR2,SGR3,SGR4 for color setting

Changes in v0.6.3 (Japanese)

  • (#2,#3) フラグフィールド Editor.HistoryCycling を追加
  • Color: Multi SelectGraphcReition Parameters をサポート(v0.6.2)
  • 色設定のために小関数 SGR1, SGR2, SGR3, SGR4 を実装

Thanks to @ram-on