Skip to content

Commit 8fa5ea1

Browse files
committed
doc of v13.4
1 parent 3585e9c commit 8fa5ea1

File tree

4 files changed

+68
-4
lines changed

4 files changed

+68
-4
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ Easy to use for ghost development
1717
## Command line arguments
1818

1919
```text
20+
ghost terminal v13.4
21+
2022
ghost_terminal [options]
2123
options:
22-
-h, --help : shows this help message.
24+
-h, --help : shows this help message and exits.
25+
-v, --version : shows the version number and exits.
2326
-c, --command <command> : runs the specified command and exits.
2427
-s, --sakura-script <script> : runs the specified Sakura script and exits.
2528
-g, --ghost <ghost> : links to the specified ghost by name.
@@ -29,6 +32,13 @@ options:
2932
-rwt, --register-to-windows-terminal : registers to the Windows terminal (requires -g <ghost name> or -gp <ghost folder path>).
3033
-rwt-name <name> : registers to the Windows terminal with the specified name (only works with -rwt).
3134
-rwt-icon <icon> : registers to the Windows terminal with the specified icon (PNG or ICO path) (only works with -rwt).
35+
--disable-text <text types>|all : disable some unnecessary text(split by ',') or all of them.
36+
root : disables the easter egg text when running terminal as root.
37+
event : disables the warning text when your ghost not having some events.
38+
WindowsTerminal : disables the text telling you to install Windows Terminal or run this exe with -rwt (-g|-gp).
39+
FiraCode : disables the text telling you try Fira Code font.
40+
example:
41+
ghost-terminal -g "Taromati2" -rwt --disable-text event,WindowsTerminal,FiraCode
3242
```
3343

3444
For example:
@@ -65,6 +75,12 @@ You can use it to control the display of the terminal, such as text colour, back
6575
- `X-SSTP-PassThru-SmallIcon` (optional)
6676
Set the terminal small icon (PNG or ICO path)
6777
If not set, will be consistent with `X-SSTP-PassThru-Icon`
78+
- `X-SSTP-PassThru-CustomLoginInfo` (optional)
79+
If set, the terminal will not display the default login information, but will display the content of this
80+
This return value will be simply escaped:
81+
- `\n` will be converted to a newline
82+
- `\t` will be converted to tabs
83+
- `\\` will be converted to `\`
6884
- `ShioriEcho.End`
6985
ghost_terminal event on normal program exit
7086
- return value

README_CN.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ up/down切换命令,鼠标右键快速粘贴,支持tab补全(如果人格
1313
## 命令行参数
1414

1515
```text
16+
ghost terminal v13.4
17+
1618
ghost_terminal [options]
1719
选项:
18-
-h, --help : 显示此帮助信息。
20+
-h, --help : 显示此帮助信息并退出。
21+
-v, --version : shows the version number and exits.
1922
-c, --command <command> : 运行指定的命令并退出。
2023
-s, --sakura-script <script> : 运行指定的Sakura脚本并退出。
2124
-g, --ghost <ghost> : 通过名字链接到指定的ghost。
@@ -25,6 +28,13 @@ ghost_terminal [options]
2528
-rwt, --register-to-windows-terminal : 注册到Windows终端(需要 -g <ghost name> 或 -gp <ghost文件夹路径>)。
2629
-rwt-name <name> : 以指定的名字注册到Windows终端(只与-rwt一起工作)。
2730
-rwt-icon <icon> : 用指定的图标(PNG或ICO路径)注册到Windows终端(只适用于-rwt)。
31+
--disable-text <text types>|all : disable some unnecessary text(split by ',') or all of them.
32+
root : disables the easter egg text when running terminal as root.
33+
event : disables the warning text when your ghost not having some events.
34+
WindowsTerminal : disables the text telling you to install Windows Terminal or run this exe with -rwt (-g|-gp).
35+
FiraCode : disables the text telling you try Fira Code font.
36+
example:
37+
ghost-terminal -g "Taromati2" -rwt --disable-text event,WindowsTerminal,FiraCode
2838
```
2939

3040
比如:
@@ -61,6 +71,12 @@ ghost_terminal通过`X-SSTP-PassThru-*`进行与人格间的信息沟通(见[
6171
- `X-SSTP-PassThru-SmallIcon`(可选)
6272
设置终端小图标(PNG或ICO路径)
6373
如果不设置,将与`X-SSTP-PassThru-Icon`保持一致
74+
- `X-SSTP-PassThru-CustomLoginInfo`(可选)
75+
如果设置了,终端将不显示默认的登录信息,但会显示这个的内容。
76+
这个返回值将经过简单转义:
77+
- `\n` 将转换为换行
78+
- `\t` 将转变为制表符
79+
- `\\` 将转化为 `\`
6480
- `ShioriEcho.End`
6581
ghost_terminal正常程序退出时事件
6682
- 返值

README_EN.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ Easy to use for ghost development
1313
## Command line arguments
1414

1515
```text
16+
ghost terminal v13.4
17+
1618
ghost_terminal [options]
1719
options:
18-
-h, --help : shows this help message.
20+
-h, --help : shows this help message and exits.
21+
-v, --version : shows the version number and exits.
1922
-c, --command <command> : runs the specified command and exits.
2023
-s, --sakura-script <script> : runs the specified Sakura script and exits.
2124
-g, --ghost <ghost> : links to the specified ghost by name.
@@ -25,6 +28,13 @@ options:
2528
-rwt, --register-to-windows-terminal : registers to the Windows terminal (requires -g <ghost name> or -gp <ghost folder path>).
2629
-rwt-name <name> : registers to the Windows terminal with the specified name (only works with -rwt).
2730
-rwt-icon <icon> : registers to the Windows terminal with the specified icon (PNG or ICO path) (only works with -rwt).
31+
--disable-text <text types>|all : disable some unnecessary text(split by ',') or all of them.
32+
root : disables the easter egg text when running terminal as root.
33+
event : disables the warning text when your ghost not having some events.
34+
WindowsTerminal : disables the text telling you to install Windows Terminal or run this exe with -rwt (-g|-gp).
35+
FiraCode : disables the text telling you try Fira Code font.
36+
example:
37+
ghost-terminal -g "Taromati2" -rwt --disable-text event,WindowsTerminal,FiraCode
2838
```
2939

3040
For example:
@@ -61,6 +71,12 @@ You can use it to control the display of the terminal, such as text colour, back
6171
- `X-SSTP-PassThru-SmallIcon` (optional)
6272
Set the terminal small icon (PNG or ICO path)
6373
If not set, will be consistent with `X-SSTP-PassThru-Icon`
74+
- `X-SSTP-PassThru-CustomLoginInfo` (optional)
75+
If set, the terminal will not display the default login information, but will display the content of this
76+
This return value will be simply escaped:
77+
- `\n` will be converted to a newline
78+
- `\t` will be converted to tabs
79+
- `\\` will be converted to `\`
6480
- `ShioriEcho.End`
6581
ghost_terminal event on normal program exit
6682
- return value

README_JP.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ ghost_terminalをシステム端末のように使用する
1515
テキスト
1616

1717
```text
18+
ghost terminal v13.4
19+
1820
ghost_terminal [オプション]を指定します。
1921
オプションで指定します。
20-
-h, --help : ヘルプメッセージを表示する.
22+
-h, --help : ヘルプメッセージを表示し、終了する。
23+
-v, --version : はバージョン番号を表示し、終了する。
2124
-c, --command <command> : 指定されたコマンドを実行し、終了する。
2225
-s, --sakura-script <script> : 指定されたサクラスクリプトを実行し、終了する。
2326
-g, --ghost <ghost> : 指定されたゴーストに名前でリンクする。
@@ -27,6 +30,13 @@ ghost_terminal [オプション]を指定します。
2730
-rwt, --register-to-windows-terminal : Windows端末に登録する(-g <ghost name> または -gp <ghost folder path> が必要).
2831
-rwt-name <name> : 指定された名前のWindows端末に登録する(-rwtとの組み合わせでのみ動作)。
2932
-rwt-icon <icon> : 指定されたアイコン(PNGまたはICOのパス)でWindows端末に登録します(-rwtとの組み合わせのみ)。
33+
--disable-text <text types>|all : 不要なテキスト(','で分割されたもの)またはそのすべてを無効にする。
34+
root : は、rootでterminalを実行したときのイースターエッグテキストを無効にします。
35+
event : ゴーストのイベントがないときの警告文を表示しないようにします。
36+
WindowsTerminal : Windows Terminalをインストールするか、このexeを-rwt (-g|-gp)で実行するように指示するテキストを無効化します。
37+
FiraCode : Fira Codeフォントを試していることを示すテキストを表示しないようにします。
38+
example:
39+
ghost-terminal -g "Taromati2" -rwt --disable-text event,WindowsTerminal,FiraCode
3040
```
3141

3242
例えば、こんな感じです:
@@ -63,6 +73,12 @@ ghost_terminalの出力は、プレーンテキストではなく、仮想端末
6373
- `X-SSTP-PassThru-SmallIcon` (オプション)
6474
端末の小さいアイコンを設定する
6575
設定されていない場合、`X-SSTP-PassThru-Icon`と一致する
76+
- `X-SSTP-PassThru-CustomLoginInfo` (optional)
77+
設定された場合、端末はデフォルトのログイン情報を表示せず、この
78+
この戻り値は、単純にエスケープされます:
79+
- `\n` は改行に変換されます。
80+
- `\t` はタブに変換されます。
81+
- `\\``\` に変換される。
6682
- `ShioriEcho.End`
6783
通常のプログラム終了時に発生するghost_terminalイベント
6884
- 戻り値

0 commit comments

Comments
 (0)