mirror of
https://github.com/hymkor/lispect.git
synced 2026-08-27 20:36:34 -04:00
Implement (send)
This commit is contained in:
+6
-3
@@ -4,14 +4,17 @@
|
||||
(while t
|
||||
(case (expect* 'timeout 10 "xxx" "yyy")
|
||||
((0)
|
||||
(sendln (string-append ctrlc "exit"))
|
||||
(send ctrlc)
|
||||
(sendln "exit")
|
||||
(return-from main nil)
|
||||
)
|
||||
((1)
|
||||
(sendln (string-append ctrlc "rem"))
|
||||
(send ctrlc)
|
||||
(sendln "rem")
|
||||
)
|
||||
((-1)
|
||||
(sendln (string-append ctrlc "exit"))
|
||||
(send ctrlc)
|
||||
(sendln "exit")
|
||||
(return-from main nil)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user