Skip to content

Commit 3a3541f

Browse files
committed
bump to v0.9.0
1 parent 91a1926 commit 3a3541f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Expect-lua for Windows
99
Please see [https://www.lua.org/docs.html](https://www.lua.org/docs.html)
1010
- Expect-lua uses [GopherLua](https://github.com/yuin/gopher-lua) as the VM for Lua.
1111
- These functions are extended in Expect-lua
12-
- `RC=expect(A,B,C...)` accesses CONOUT$ directly and watches the cursor-line (0.1 seconds interval)
12+
- `RC=expect(A,B,C...)` accesses CONOUT$ directly and watches the cursor-line and abobe N-lines (N+1 can be set by `capturelines`:default is 2) (0.1 seconds interval)
1313
- When A was found in cursor-line, RC=0
1414
- When B was found in cursor-line, RC=1
1515
- When C was found in cursor-line, RC=2
@@ -37,6 +37,8 @@ Expect-lua for Windows
3737
- `spawnctx(NAME,ARG1,ARG2,...)` is similar with spawn() but the process started by spawnctx is killed automatically when Ctrl-C is pressed. (v0.5.0~)
3838
- `wait(PID)` waits the process of PID terminates.
3939
- `shot(N)` reads N-lines from the console buffer and returns them. (v0.8.0~)
40+
- `sleep(N)` sleeps N-seconds. (v0.9.0~)
41+
- `usleep(MICROSECOND)` sleep N-micrseconds. (v0.9.0~)
4042

4143
``` lua
4244
local screen = assert(shot(25))

release_note.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v0.9.0
2+
------
3+
Dec.28,2022
4+
15
- Add the new global variable: capturelines (default:2)
26
- Add the new function: sleep(SECOND),usleep(MICROSECOND)
37

0 commit comments

Comments
 (0)