Skip to content

v0.11.2

Compare
Choose a tag to compare
@hymkor hymkor released this 01 May 16:40
· 154 commits to master since this release

Simplified the internal structure that was unnecessarily complicated.

v0.11.2 (May 1, 2023)

  • Remove (*Buffer) Write that is not used.
  • Unexport (*Buffer) RefreshColor() that is useless for external applications
  • Sub package: tty10 : fix goroutine leak (that is not used on default)
  • Add type: AnonymousCommand and SelfInserter

v0.11.1 (Apr 28, 2023)

  • Create sub-package: keys that defines key codes
  • Rename KeyGoFuncT to GoCommand
  • Rename KeyFuncT to Command
  • Hide GetKey(ITty)
  • Remove Key name constants: K_mmmm. Use keys.*
  • Remove Command name constants: F_mmmm. Use (Command) String() method
  • Remove (Result) String()

無駄に複雑化している内部構造を簡素化しました。

v0.11.2 (May 1, 2023)

  • (使われている場所がなかった)(*Buffer) Write メソッドを削除
  • (外部からは使いどころがない)(*Buffer) RefreshColor() メソッドを非公開化
  • サブパッケージの tty10 の goroutine リークを修正(デフォルトでは未使用)
  • AnonymousCommand(匿名のキー割り当てコマンド型)と SelfInserter (文字挿入コマンド型)を追加

v0.11.1 (Apr 28, 2023)

  • キーコードを定義するサブパッケージ keys を作成
  • KeyGoFuncTGoCommand へ改名
  • KeyFuncTCommand へ改名
  • 関数 GetKey(ITty) を隠蔽
  • キー名定数 K_***** を削除。かわりにキーコードそのものである keys.* を直接ご利用ください
  • コマンド名定数 F_***** を削除。かわりに (Command) String() メソッドの結果をご利用ください
  • (使われている場所がなかった) (Result) String() を削除