]> git.cworth.org Git - sup/commitdiff
add nice message when killing a thread
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 10 Sep 2007 20:40:20 +0000 (20:40 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 10 Sep 2007 20:40:20 +0000 (20:40 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@561 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/thread-index-mode.rb

index 952dd229ad5551552555d741fbd1499428237a31..baa0325c85273f18901ffce2d247ff1aad4fe546 100644 (file)
@@ -254,6 +254,7 @@ class ThreadIndexMode < LineCursorMode
       hide_thread t
     end
     regen_text
+    BufferManager.flash "Thread#{threads.size == 1 ? '' : 's'} killed."
   end
 
   def save