mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 00:20:49 +02:00
application-settable readline timeouts
This commit is contained in:
@@ -67,3 +67,12 @@ FOO
|
||||
0
|
||||
0
|
||||
1
|
||||
[?2004h[?2004l
|
||||
timeout 1: ok
|
||||
unset or null 1
|
||||
[?2004h[?2004l
|
||||
timeout 2: ok
|
||||
unset or null 2
|
||||
[?2004h[?2004l
|
||||
timeout 3: ok
|
||||
unset or null 3
|
||||
|
||||
+1
-1
@@ -111,4 +111,4 @@ ${THIS_SH} ./read5.sub
|
||||
${THIS_SH} ./read6.sub
|
||||
|
||||
# test behavior of readline timeouts
|
||||
# ${THIS_SH} ./read7.sub
|
||||
${THIS_SH} ./read7.sub
|
||||
|
||||
@@ -53,3 +53,6 @@ echo abcde | {
|
||||
read -e -t 0.5 a
|
||||
echo $a
|
||||
}
|
||||
|
||||
read -e -t .0001 a <<<abcde
|
||||
echo $a
|
||||
|
||||
Reference in New Issue
Block a user