Releases
v1.10.0
Compare
Sorry, something went wrong.
No results found
hymkor
released this
01 Jun 23:34
Changes from v1.9.1 to v1.10.0 (English)
New features
Add new options:-p Protect the header line ( Config.ProtectHeader for package configuration )
Do not create a row contains nothing but EOF.
When -fixcol is set, the new row which o & O insert has all columns same as the row cursor exists
Fixed bugs
When -fixcol is specified
Fix: o and O: inserted column was always the first one of the new line
Fix: O: the line of cursor is incorrect before new cell text is input
Fix timing to close the terminal input was incorrect
(The cause is unknown; however, the issue has not manifested)
Modifying package
Added a mechanism for cell input validation
User functions can be assigned to keys
Make uncsv.Cell.Original() that returns the original value before modified.
csvi.Result has removed rows in a field.
Set 14 as the default of csvi.Config.CellWidth
Implement csvi.Config.Edit as a function instead of csvi.Config.Main as the entry function for external packages
v1.9.1 から v1.10.0 への変更点 (日本語)
新仕様
新オプション追加:-p ヘッダー行を保護 ( パッケージ用設定:Config.ProtectHeader )
EOF だけの行を作成しないようにした
-fixcol 指定時、o や O で挿入される行は、カーソルのある行と同じ全列を持たせるようにした。
不具合修正
カラム数固定(-fixcol)の時
o や O で入力されたテキストが記入される列がカーソルのあった列ではなく常に先頭列になっていた不具合を修正
O でテキストを入力する時の反転セルの行位置がずれている不具合を修正
端末入力(go-tty)のクローズタイミングがおかしかった点を修正
(なぜか問題として表面化していない)
パッケージ修正
セルの入力チェックの仕組みを用意
キーに関数を割り当てられるようにした
変更前のセル値を取得する uncsv.Cell.Original() を用意した
csvi.Result に削除した行情報を保持させるようにした。
csvi.Config.CellWidth のデフォルトを14桁とした
外部へのエントリ関数として、csvi.Config.Main のかわりに csvi.Config.Edit を用意
You can’t perform that action at this time.