sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bb459f55d260fee63279b3ea9f9247a37548710e
parent 024b7afa7f1b8e4d16fe79ad29d0b95bb61cc0c6
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Sun,  5 Aug 2007 23:13:57 +0000

fix warning about redefined constants (thanks to Nicolas Pouillard)

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

Diffstat:
M lib/sup/buffer.rb | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -35,6 +35,9 @@ module Ncurses
 
   module_function :rows, :cols, :curx, :nonblocking_getch, :mutex, :sync
 
+  remove_const :KEY_ENTER
+  remove_const :KEY_CANCEL
+
   KEY_ENTER = 10
   KEY_CANCEL = ?\a # ctrl-g
   KEY_TAB = 9