mirror of
https://github.com/PDP-10/its.git
synced 2026-02-26 08:53:29 +00:00
Improve the TCL "type" procedure.
It will now also match typed uppercase characters and digits against the echoed output.
This commit is contained in:
@@ -14,7 +14,7 @@ proc type s {
|
||||
sleep .1
|
||||
foreach c [split $s ""] {
|
||||
send -- $c
|
||||
if [string match {[a-z]} $c] {
|
||||
if [string match {[a-zA-Z0-9]} $c] {
|
||||
expect -nocase $c
|
||||
} else {
|
||||
expect "?"
|
||||
|
||||
Reference in New Issue
Block a user