You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Easy to use for ghost development
17
17
## Command line arguments
18
18
19
19
```text
20
-
ghost terminal v13.9
20
+
ghost terminal v13.9.0.1
21
21
22
22
ghost_terminal [options]
23
23
options:
@@ -110,8 +110,9 @@ The rest of the events should only be defined if you want to change the default
110
110
Event after the command has been typed
111
111
-`Reference0`
112
112
Commands collected by the terminal
113
-
- Return value
114
-
Ignored, **but sakura scripts are executed normally**
113
+
- Return Value
114
+
If you have not defined "ShioriEcho.GetResult", you can return any of the return values supported by "ShioriEcho.GetResult" here, which will also be correctly processed by the terminal (except for return value 3, which will enter the next command acquisition when "ShioriEcho" does not return anything without defining "ShioriEcho.GetResult").
115
+
If you have defined "ShioriEcho.GetResult", the return value here will be ignored (**but Sakura Script will execute normally**).
Copy file name to clipboardExpand all lines: docs/README_EN.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Easy to use for ghost development
13
13
## Command line arguments
14
14
15
15
```text
16
-
ghost terminal v13.9
16
+
ghost terminal v13.9.0.1
17
17
18
18
ghost_terminal [options]
19
19
options:
@@ -106,8 +106,9 @@ The rest of the events should only be defined if you want to change the default
106
106
Event after the command has been typed
107
107
-`Reference0`
108
108
Commands collected by the terminal
109
-
- Return value
110
-
Ignored, **but sakura scripts are executed normally**
109
+
- Return Value
110
+
If you have not defined "ShioriEcho.GetResult", you can return any of the return values supported by "ShioriEcho.GetResult" here, which will also be correctly processed by the terminal (except for return value 3, which will enter the next command acquisition when "ShioriEcho" does not return anything without defining "ShioriEcho.GetResult").
111
+
If you have defined "ShioriEcho.GetResult", the return value here will be ignored (**but Sakura Script will execute normally**).
out << SET_GRAY "You can use " SET_GREEN "Fira Code" SET_GRAY " font for a better experience in terminal and editor.\n"
@@ -749,7 +752,7 @@ class ghost_terminal final: public simple_terminal {
749
752
if(!linker.Has_Event(L"ShioriEcho.GetResult")) {
750
753
able_get_result = 0;
751
754
err << "Event " SET_GREEN "ShioriEcho.GetResult" SET_GRAY " Not defined.\n"
752
-
"Terminal will not send get result event to your ghost and will not echo result.\n\n";
755
+
"Terminal will not send get result event to your ghost and will not echo the result if your ghost does not returns " SET_PURPLE "Result&Type" SET_GRAY " in the " SET_GREEN "ShioriEcho" SET_GRAY " event.\n\n";
0 commit comments