github hymkor/csvi v1.15.0

latest releases: v1.23.2, v1.23.1, v1.23.0...
10 months ago

Changes in v1.15.0 in (English)

  • Added key bindings ] and [ to adjust the width of the current column (widen and narrow, respectively).
  • Added -rv option to prevent unnatural colors on terminals with a white background
  • At startup, the width of ambiguous-width Unicode characters was being measured, but on terminals that do not support the cursor position query sequence ESC[6n, this could cause a hang followed by an error. To address this:
    • -aw (treat ambiguous-width characters as 2 cells) and -an (treat ambiguous-width characters as 1 cell) options were added to skip the measurement and explicitly specify the character width.
    • If ESC[6n is not supported, the program now continues without aborting.
  • Suppress color output if the NO_COLOR environment variable is set (following https://no-color.org/ )
  • Added support for FreeBSD/amd64
  • Added API functions (Config) EditFromStringSlice, uncsv.NewRowFromStringSlice and and (*_Application) MessageAndGetKey.
  • Split the "csvi" package into subpackages such as "internal/ansi", "internal/manualctl", "legacy", and "candidate".

Changes in v1.15.0 in (Japanese)

  • 現在カーソルがあるカラムの幅を広げるキー ] と、逆に狭める [ を実装
  • 白背景の端末でも色が不自然にならないよう、-rv オプションを追加
  • 起動時に曖昧幅の Unicode 文字の表示幅を計測していたが、カーソル位置を取得するシーケンス ESC[6n をサポートしない端末では、入力待ちのままエラー終了してしまう問題があった。そのため:
    • 幅を明示的に指定して計測をスキップできる -aw(曖昧幅を2セルとして扱う)および -an(曖昧幅を1セルとして扱う)オプションを追加した。
    • ESC[6n が無効な場合でもエラーとせず、編集を継続できるようにした。
  • 環境変数 NO_COLOR が定義されている場合、カラー表示を抑制するようにした ( https://no-color.org/ に準拠 )
  • FreeBSD/amd64 をサポート
  • API関数: (Config) EditFromStringSlice, uncsv.NewRowFromStringSlice, (*_Application) MessageAndGetKey を追加
  • "csvi" パッケージを "internal/ansi", "internal/manualctl", "legacy", "candidate" などのサブパッケージに分解した

Don't miss a new csvi release

NewReleases is sending notifications on new releases.