- This version was released on Mar 13, 2026 as a pre-release.
- The pre-release flag was cleared on Mar 21, 2026 with no modifying on the content.
Changes in 4.4.19_0 (English)
Bug fixes
- Changed type command to require at least one argument, matching CMD.exe behavior. (#489,#490)
(This avoids a race condition where a SIGINT from Ctrl-C could be delayed and incorrectly cancel the subsequent command.)
New Features
- Made input prediction case-insensitive. (go-readline-ny#20, #476 and #477, thanks to @emisjerry)
- Changed the behavior of the Escape key to act as a prefix key instead of clearing input.(#483, #485) This ensures that:
- Escape sequences such as
\x1B[A(arrow keys) work correctly even when the input is split by the terminal. - Pressing
Escapeis now equivalent to pressingAlt.
- Escape sequences such as
Esc+Leftnow behaves the same asEsc+borAlt+b.Esc+Rightnow behaves the same asEsc+forAlt+f.- Changed the behavior of
Alt+f, which previously moved the cursor to the beginning of the next word, to match GNU readline: it now moves to the end of the current or next word. Alt/Esc+BackspaceandESC+Ctrl+wnow delete the word to the left of the cursor.Alt/Esc+dnow deletes the current or next word.
Lua
-
Implemented
nyagos.setnextline(STR), which sets the initial text for the next readline prompt. (#458, #466, thanks to @emisjerry) -
nyagos.d/catalog/complete-jj.lua(#473, #474, #499, Thanks to @tsuyoshicho)- Regenerate with jj v0.39
- Modify the generate script
make-complete-jj.luato output CRLF as line endings - Enable
make update-complete-jjto update complete-jj.lua
-
Split the commit-prediction behavior that had been embedded in
FORWARD_CHARinto three separate functions (go-readline-ny#19, #476 and #477, thanks to @emisjerry):FORWARD_CHAR: move the cursor one character to the rightACCEPT_PREDICT: accept the current predictionFORWARD_CHAR_OR_ACCEPT_PREDICT: accept the prediction when the cursor is at the end of the line; otherwise move the cursor one character to the right
By default, the Right Arrow key and Ctrl-F are now bound to
FORWARD_CHAR_OR_ACCEPT_PREDICT. -
Lua scripts under the
nyagos.ddirectory are now loaded automatically again. (#469, #478)
However, the standard scripts that used to reside in that directory remain embedded in the executable, and the defaultnyagos.ddirectory is empty.
( Originally, the directory was not intended for user-defined scripts. ) -
Do not stop processing other startup scripts when one of them fails. (#479)
-
Added
runall.luatonyagos.d/catalog. This utility loads and executes all Lua scripts under the specified directories (#480). Example:local runall = require("runall") runall("~/scriptdir1;~/scriptdir2") -
Add
nyagos.evaln, a version ofnyagos.evalthat does not strip trailing CRLF from the output (#495)
Documents
- Rename release note files:
Internal changes
- Fixed an issue where the version string was empty when built without GNU Make.
The version string is now updated viamake bumpduring the release process. (#493) - Improved how Context is passed to Lua extensions. By using the Lua registry instead of
LState.SetContext, we now suppress redundant Lua stack traces when a command is interrupted by Ctrl-C. (#492)
Changes in 4.4.19_0 (Japanese)
不具合修正
typeコマンドの仕様を CMD.exe 同様、第一引数必須とした。 (#489,#490)
(標準入力から読み取ると、Ctrl-C による SIGINT が遅延し、type ではなく、次のコマンドを中断させてしまうことが多いため)
仕様変更
- 入力予測機能で英大文字・小文字を区別しないようにした (go-readline-ny#20, #476, #477, thanks to @emisjerry)
Escキーの扱いを見直し、「入力内容のクリア」ではなくプリフィックスキーとして処理するように変更した。(#483, #485)- 上矢印キーを表す
\x1B[Aなどのキーシーケンスが端末の仕様により分割されて入力された場合でも、正しく動作するようになった。 Escの入力がAltシフトと等価となった。
- 上矢印キーを表す
Esc+LeftをEsc+b,Alt+bと等価にした。Esc+RightをEsc+f,Alt+fと等価にした。- これまで次の単語の先頭への移動だった Alt + f の挙動を本家の readline に合わせ、現在または次の単語の末尾へ移動するように修正した。
Alt/Esc+Backspace,ESC+Ctrl+wで、カーソル左の単語を削除するようにした。Alt+dで、カーソルから右直近の単語末尾までを削除するようにした。
Lua
-
readline の次回プロンプトに挿入する初期テキストを設定する
nyagos.setnextline(STR)を実装 (#458, #466, thanks to @emisjerry) -
nyagos.d/catalog/complete-jj.lua(#473, #474, #499, Thanks to @tsuyoshicho)jjのサブコマンド補完をv0.39 ベースに更新- 改行コードが LF になっていたので、CRLF となるよう、生成スクリプト make-complete-jj.lua を修正
make update-complete-jjから complete-jj.lua を更新できるようにした
-
カーソル一文字分の右移動(
FORWARD_CHAR)に組み込まれていた予測候補確定を分離し、次の3機能に分離した。(go-readline-ny#19, #476, #477, thanks to @emisjerry)- 純粋にカーソル一文字分の右移動のみ (
FORWARD_CHAR) - 予測候補を確定 (
ACCEPT_PREDICT) - カーソルが行末の時は予測候補確定、さもなければカーソル一文字分移動(
FORWARD_CHAR_OR_ACCEPT_PREDICT)
なお、右矢印キー、Ctrl-F はデフォルトで
FORWARD_CHAR_OR_ACCEPT_PREDICTとした。 - 純粋にカーソル一文字分の右移動のみ (
-
nyagos.d 以下の Lua スクリプトを再び自動ロード対象とした。(#469, #478)
ただし、かつてあった nyagos.d 以下の標準スクリプトは引き続き EXE ファイル内に組み込みとし、デフォルトでは同フォルダー直下はファイルのない状態とする。
( 当初は nyagos.d 配下にユーザが独自スクリプトを置く想定ではありませんでした ) -
起動時に読み込むスクリプトのどれかでエラーが発生しても、残りのスクリプトの実行を続けるようにした。(#479)
-
runall.luaスクリプトをnyagos.d/catalogに追加した。これは、指定ディレクトリ以下にあるすべての Lua スクリプトを順にロードして実行する (#480) 。使用例:local runall = require("runall") runall("~/scriptdir1;~/scriptdir2") -
nyagos.evalの出力末尾の CRLF を削除しないバージョンnyagos.evalnを追加 (#495)
Documents
- 変更履歴を記録するファイルを変更