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()
