Changes in v1.15.0 in (English)
- Added key bindings
]and[to adjust the width of the current column (widen and narrow, respectively). - Added
-rvoption 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[6nis not supported, the program now continues without aborting.
- Suppress color output if the
NO_COLORenvironment variable is set (following https://no-color.org/ ) - Added support for FreeBSD/amd64
- Added API functions
(Config) EditFromStringSlice,uncsv.NewRowFromStringSliceand 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"などのサブパッケージに分解した