Changes in v4.4.18_1 (English)
Bug fixes
- Fixed a bug where existing content was not cleared when opening a file with Lua
io.open(..., "w")
(#471, #472 Thanks to @emisjerry)
Internal changes
- Upgraded github.com/nyaosorg/go-box from v2.2.1 to v3.0.0. (#453)
- Replaced deprecated readline.GetKey with go-ttyadapter/tty8 in
nyagos.getkeys. (#454) - Fix: staticcheck: should omit nil check; len() for nil slices is defined as zero (S1009) (#455)
- Removed internal Lua functions
nyagos.resetcharwidthandnyagos.setrunewidth, which used deprecated APIs from go-readline-ny. (#457)
These functions were originally added for maintenance and debugging purposes, but became obsolete after the removal of redundant character width caching in go-readline-ny.
Changes in v4.4.18_1 (Japanese)
不具合修正
- Lua関数
io.open(..., "w")でファイルをオープンした時、ファイルが truncate されていなかった不具合を修正
(#471, #472 Thanks to @emisjerry)
内部的な変更
- github.com/nyaosorg/go-box を v2.2.1 から v3.0.0 にバージョンアップした (#453)
nyagos.getkeys内で使用していたが、Deprecated となっていた readline.GetKey を go-ttyadapter/tty8 に置き換えた (#454)- nilに対するlen()は0だから、nil チェックを省略すべきという staticcheck の warning を解消した (#455)
- go-readline-ny での冗長な文字幅データのキャッシュ機能廃止にともなって Deprecated となった関数を使っていた、メンテ・調査用の非公開Lua関数
nyagos.resetcharwidth,nyagos.setrunewidthを廃止した (#457)