Skip to content

Releases: hymkor/go-cursorposition

v0.0.4

Choose a tag to compare

@hymkor hymkor released this 09 Oct 11:50

Changes in v0.0.4 (English)

  • Added an explicit MIT license.
  • Set the minimum supported Go version to 1.20.

Changes in v0.0.4 (Japanese)

  • ライセンスを MIT と明記した
  • 想定する Go バージョンを 1.20 以降とした

v0.0.3

Choose a tag to compare

@hymkor hymkor released this 28 Feb 12:51
  • Implement the function AmbiguousWidthGoTty that returns the width of Ambiguous Unicode characters. It makes the terminal raw-mode with "github.com/mattn/go-tty".TTY temporarily .
    ( When using the function AmbiguousWidth, the caller had to switch the terminal to RAW mode. )

  • 曖昧幅なUnicode文字の幅を返す関数 AmbiguousWidthGoTty を実装した。 "github.com/mattn/go-tty".TTY を使って端末を一時的に RAW モードにします
    (関数 AmbiguousWidth は呼び出し元で RAW モードにしなければいけませんでした)

v0.0.2

Choose a tag to compare

@hymkor hymkor released this 28 Feb 12:44
  • Changed to use "/dev/tty" or "CONIN$" instead of os.Stdin in case os.Stdin is redirected.

  • os.Stdin がリダイレクトされているケースのため、os.Stdin のかわりに "/dev/tty" もしくは "CONIN$" を使うようにした。

v0.0.1

Choose a tag to compare

@hymkor hymkor released this 28 Feb 12:41
  • The prototype