aboutsummaryrefslogtreecommitdiffstats
path: root/testing/imapfilter/io-flush.patch
blob: ee42978b7708e4a8d01163d381fec8e29efee8ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/auxiliary.lua b/src/auxiliary.lua
index 9284d25..d59bf71 100644
--- a/src/auxiliary.lua
+++ b/src/auxiliary.lua
@@ -14,6 +14,7 @@ function get_password(prompt)
     else
         io.write('Enter password: ')
     end
+    io.flush()
     ifsys.noecho()
     local p = io.read()
     ifsys.echo()