sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 2334f8a1146b1bd478507682ef152c83cd54789e
parent bb2405a5b98edebf6a83f2e23a56dd4ef75ad7c7
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Mon, 20 Aug 2007 01:35:58 +0000

add ask_yes_or_no to hook callable functions

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@533 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/hook.rb | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/sup/hook.rb b/lib/sup/hook.rb
@@ -30,6 +30,10 @@ class HookManager
       Redwood::log "hook[#@__name]: #{s}"
     end
 
+    def ask_yes_or_no q
+      BufferManager.ask_yes_or_no q
+    end
+
     def __binding 
       binding
     end