From a04b8ceb2cb031d99b8dbe4224fee967a84a2057 Mon Sep 17 00:00:00 2001 From: Andrew Hills Date: Thu, 28 May 2015 09:49:55 -0400 Subject: testing/imapfilter: patch password prompt flushing This is a temporary patch, while we wait for this pull request to be merged upstream: https://github.com/lefcha/imapfilter/pull/92 --- testing/imapfilter/io-flush.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/imapfilter/io-flush.patch (limited to 'testing/imapfilter/io-flush.patch') diff --git a/testing/imapfilter/io-flush.patch b/testing/imapfilter/io-flush.patch new file mode 100644 index 0000000000..ee42978b77 --- /dev/null +++ b/testing/imapfilter/io-flush.patch @@ -0,0 +1,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() -- cgit v1.2.3