Updated Speed (markdown)
parent
b06737f9a7
commit
177f826f87
1 changed files with 1 additions and 1 deletions
2
Speed.md
2
Speed.md
|
@ -9,7 +9,7 @@ set wd [file tail [pwd]]
|
||||||
set c0 [clock microseconds]
|
set c0 [clock microseconds]
|
||||||
spawn -noecho zsh -li
|
spawn -noecho zsh -li
|
||||||
expect {
|
expect {
|
||||||
-re {\e]([07]|1337);[^\a]*\a} { exp_continue } ; # match escape sequences to be ignored
|
-re {\e](?:[0127]|1337);.*?(?:\a|\e\\)} { exp_continue } ; # match escape sequences to be ignored
|
||||||
$wd { send_error "[expr [clock microseconds] - $c0]\n" } ; # match working dir at prompt
|
$wd { send_error "[expr [clock microseconds] - $c0]\n" } ; # match working dir at prompt
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue