diff --git a/nyagos_en.md b/nyagos_en.md index c754df2d..50130cad 100644 --- a/nyagos_en.md +++ b/nyagos_en.md @@ -55,6 +55,7 @@ Execute `COMMAND` and continue the command-line. * UP , Ctrl-P : Replace commandline to previous input one * DOWN , Ctrl-N : Replace commnadline to next input one * TAB , Ctrl-I : Complete file or command-name +* Ctrl-C : Drop text all ## Built-in commnads @@ -204,7 +205,7 @@ FUNCNAME are: "BACKWARD_DELETE_CHAR" "BACKWARD_CHAR" "CLEAR_SCREEN" "DELETE_CHAR" "DELETE_OR_ABORT" "ACCEPT_LINE" "KILL_LINE" "UNIX_LINE_DISCARD" "FORWARD_CHAR" "BEGINNING_OF_LINE" "PASS" "YANK" "KILL_WHOLE_LINE" - "END_OF_LINE" "COMPLETE" "PREVIOUS_HISTORY" "NEXT_HISTORY" + "END_OF_LINE" "COMPLETE" "PREVIOUS_HISTORY" "NEXT_HISTORY" "INTR" If it succeeded, it returns true only. Failed, it returns nil and error-message. Cases are ignores and, the character '-' is same as '\_'. diff --git a/nyagos_ja.md b/nyagos_ja.md index 1f019f71..074a6fe1 100644 --- a/nyagos_ja.md +++ b/nyagos_ja.md @@ -65,6 +65,7 @@ UNIX * ↑ , Ctrl-P : ヒストリ:一つ前の入力内容を展開する * ↓ , Ctrl-N : ヒストリ:一つ後の入力内容を展開する * TAB , Ctrl-I : ファイル名・コマンド名補完 +* Ctrl-C : 入力内容を破棄 ## 内蔵コマンド @@ -242,7 +243,7 @@ UTF8 "BACKWARD_DELETE_CHAR" "BACKWARD_CHAR" "CLEAR_SCREEN" "DELETE_CHAR" "DELETE_OR_ABORT" "ACCEPT_LINE" "KILL_LINE" "UNIX_LINE_DISCARD" "FORWARD_CHAR" "BEGINNING_OF_LINE" "PASS" "YANK" "KILL_WHOLE_LINE" - "END_OF_LINE" "COMPLETE" "PREVIOUS_HISTORY" "NEXT_HISTORY" + "END_OF_LINE" "COMPLETE" "PREVIOUS_HISTORY" "NEXT_HISTORY" "INTR" 成功すると true を、失敗すると nil とエラーメッセージを返します。 大文字・小文字は区別せず、\_ のかわりに - を使うことができます。