]> git.cworth.org Git - sup/commitdiff
Merge branch 'console-mode'
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 8 Sep 2009 19:37:51 +0000 (15:37 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 8 Sep 2009 19:37:51 +0000 (15:37 -0400)
Conflicts:
bin/sup

1  2 
bin/sup
lib/sup.rb
lib/sup/hook.rb

diff --cc bin/sup
index 605c55342b11b1cdfd4e8fc9bfd64a98ba154129,2b4fee7a3630fc01b9925d70a4209425c6ac0e09..b3a4f458772334a82832587a953394a4041d8ba5
+++ b/bin/sup
@@@ -78,7 -78,7 +78,8 @@@ global_keymap = Keymap.new do |k
    k.add :compose, "Compose new message", 'm', 'c'
    k.add :nothing, "Do nothing", :ctrl_g
    k.add :recall_draft, "Edit most recent draft message", 'R'
 +  k.add :show_inbox, "Show the Inbox buffer", 'I'
+   k.add :show_console, "Show the Console buffer", '~'
  end
  
  ## the following magic enables wide characters when used with a ruby
@@@ -295,8 -297,9 +296,14 @@@ begi
          b, new = BufferManager.spawn_unless_exists("All drafts") { LabelSearchResultsMode.new [:draft] }
          b.mode.load_threads :num => b.content_height if new
        end
++<<<<<<< HEAD:bin/sup
 +    when :show_inbox
 +      BufferManager.raise_to_front ibuf
++=======
+     when :show_console
+       b, new = bm.spawn_unless_exists("Console", :system => true) { ConsoleMode.new }
+       b.mode.run
++>>>>>>> console-mode:bin/sup
      when :nothing, InputSequenceAborted
      when :redraw
        bm.completely_redraw_screen
diff --cc lib/sup.rb
Simple merge
diff --cc lib/sup/hook.rb
Simple merge