Skip to content

Commit b2b5ca1

Browse files
committed
Update README_EN.md
1 parent 1b1a607 commit b2b5ca1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README_EN.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Ps: `ShioriEcho.GetName`, `ShioriEcho.End`, `ShioriEcho.TabPress` are optional
1717
The ghost_terminal communicates with the ghost through `X-SSTP-PassThru-*` (see [document]( http://ssp.shillest.net/ukadoc/manual/spec_shiori3.html ))
1818
See below for relevant conventions and examples
1919

20-
-`ShioriEcho`
20+
- `ShioriEcho`
2121
Event after the command entered
2222
* `Reference0`
2323
Commands collected by the terminal
@@ -41,14 +41,14 @@ See below for relevant conventions and examples
4141
Charset: UTF-8
4242
Value: \0\s[0] The execution result of the expression "\_q1000-7\_q" is:\n\_q993\nType: integer\_q\n\q[◇Copy result,OnCopy,"993"] \n\q[◇Copy expression,OnCopy,"1000-7"]\n\q[◇Execute Result as Sakura Script,OnSakuraScript,"993"]\n\n\q[◇Next Evaluation,OnCalculateVar ]\n\q[◇Cancel,Cancel]\n\eb25jZSBzbyBkaXNwb3NhYmxl
4343
```
44-
-`ShioriEcho.GetResult`
44+
- `ShioriEcho.GetResult`
4545
Query evaluation result event
4646
* May return value 1
47-
-`X-SSTP-PassThru-Result`
47+
- `X-SSTP-PassThru-Result`
4848
Display the content and enter the acquisition of the next command
49-
-`X-SSTP-PassThru-Type` (optional)
49+
- `X-SSTP-PassThru-Type` (optional)
5050
Supplementary information: value type
51-
-Example
51+
- Example
5252
```
5353
// request
5454
GET SHIORI/3.0
@@ -68,9 +68,9 @@ See below for relevant conventions and examples
6868
X-SSTP-PassThru-Type: integer
6969
```
7070
* May return value 2
71-
-`X-SSTP-PassThru-Special`
71+
- `X-SSTP-PassThru-Special`
7272
Display the content and enter the acquisition of the next command
73-
-Example
73+
- Example
7474
```
7575
// request
7676
GET SHIORI/3.0
@@ -92,14 +92,14 @@ See below for relevant conventions and examples
9292
- null
9393
Wait for 1 second and re-initiate `ShioriEcho.GetResult`
9494
* May return value 4
95-
-**`SHIORI/3.0 400 Bad Request`**
95+
- **`SHIORI/3.0 400 Bad Request`**
9696
Display warning information and enter the acquisition of the next command
97-
-`ShioriEcho.GetName`
97+
- `ShioriEcho.GetName`
9898
Event when ghost_terminal starts
9999
* Return value
100-
-`X-SSTP-PassThru-GhostName` (optional)
100+
- `X-SSTP-PassThru-GhostName` (optional)
101101
Display ghost name
102-
-`X-SSTP-PassThru-UserName` (optional)
102+
- `X-SSTP-PassThru-UserName` (optional)
103103
Show username
104104
* Example
105105
```
@@ -120,14 +120,14 @@ See below for relevant conventions and examples
120120
X-SSTP-PassThru-GhostName: Taromati2
121121
X-SSTP-PassThru-UserName: steve
122122
```
123-
-`ShioriEcho.TabPress`
123+
- `ShioriEcho.TabPress`
124124
Event when the command is to be completed
125125
* `Reference0`
126126
Commands collected by the terminal (Just the part before the cursor, part after it is not passed)
127127
* `Reference1`
128128
The user presses tab several times in a row (starting value 0)
129129
* Return value
130-
-`X-SSTP-PassThru-Command` (optional)
130+
- `X-SSTP-PassThru-Command` (optional)
131131
Replace the command before the cursor with this content
132132
* Example
133133
```
@@ -187,14 +187,14 @@ See below for relevant conventions and examples
187187
Value:
188188
X-SSTP-PassThru-Command: 'Just a '+username
189189
```
190-
-`ShioriEcho.End`
190+
- `ShioriEcho.End`
191191
Event when ghost_terminal exits by typing exit
192192
* Return value
193193
Ignore, **but sakura script executes normally**
194194

195195
### Examples
196196
Sample code excerpt from Taromati2
197-
Feel free to modify/copy/use
197+
Free to modify/copy/use
198198
```aya
199199
SHIORI_EV.On_Has_Event : void {
200200
SHIORI_FW.Make_X_SSTP_PassThru('Result',ISFUNC(reference0)||ISFUNC('On_'+reference0)||ISFUNC('SHIORI_EV.'+reference0)||ISFUNC('SHIORI_EV.On_'+reference0))

0 commit comments

Comments
 (0)