summaryrefslogtreecommitdiffstats
path: root/tests/winConsole.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2022-07-04 15:32:29 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2022-07-04 15:32:29 (GMT)
commitb5282f380b7cf0d96a9d9414296ca83b6ac6cc70 (patch)
tree1243d1d9554b8b240c763a4febaff179c4d4ed98 /tests/winConsole.test
parenta303a1324a67c192bcaa76b3e08c81352d2bf534 (diff)
downloadtcl-b5282f380b7cf0d96a9d9414296ca83b6ac6cc70.zip
tcl-b5282f380b7cf0d96a9d9414296ca83b6ac6cc70.tar.gz
tcl-b5282f380b7cf0d96a9d9414296ca83b6ac6cc70.tar.bz2
Rework reader thread to not do read-ahead as console stdin mode might change
Diffstat (limited to 'tests/winConsole.test')
-rw-r--r--tests/winConsole.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/winConsole.test b/tests/winConsole.test
index ae0d939..6d537b2 100644
--- a/tests/winConsole.test
+++ b/tests/winConsole.test
@@ -118,12 +118,12 @@ test console-fconfigure-1.[incr testnum] {
test console-fconfigure-1.[incr testnum] {
fconfigure -inputmode password
} -constraints {win interactive} -body {
- prompt "Type \"password\" and hit Enter. You should NOT see characters echoed"
+ prompt "Type \"password\" and hit Enter. You should NOT see characters echoed: "
fconfigure stdin -inputmode password
gets stdin password
- set password_echoed [yesno "Were the characters echoed?"]
- prompt "Type \"normal\" and hit Enter. You should see characters echoed"
fconfigure stdin -inputmode normal
+ set password_echoed [yesno "\nWere the characters echoed?"]
+ prompt "Type \"normal\" and hit Enter. You should see characters echoed: "
gets stdin normal
set normal_echoed [yesno "Were the characters echoed?"]
list $password_echoed $password $normal_echoed $normal