]> git.cworth.org Git - sup/commitdiff
fix warning about redefined constants (thanks to Nicolas Pouillard)
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 5 Aug 2007 23:13:57 +0000 (23:13 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 5 Aug 2007 23:13:57 +0000 (23:13 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@515 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/buffer.rb

index 30cac13655fd713036f552456336a3a1fb7d805f..91c0869d0e63fe4bd1939c941ef47c7b802c2501 100644 (file)
@@ -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