]> git.cworth.org Git - sup/commitdiff
add a friendly message when starting sup
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 10 Nov 2008 04:45:58 +0000 (20:45 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 10 Nov 2008 04:45:58 +0000 (20:45 -0800)
bin/sup

diff --git a/bin/sup b/bin/sup
index 124af755d58ab9e04089f240ede3ca20f7061756..a09a26c1c6015045d59f7ab55534ac16227a95a5 100644 (file)
--- a/bin/sup
+++ b/bin/sup
@@ -174,6 +174,11 @@ begin
     PollManager.start
     SuicideManager.start
     Index.start_lock_update_thread
+    Redwood::reporting_thread("be friendly") do
+      id = BufferManager.say "Welcome to Sup! Press '?' at any point for help."
+      sleep 10
+      BufferManager.clear id
+    end
   end
 
   if $opts[:search]