examples/testtabp.rb in rbcurse-1.2.0 vs examples/testtabp.rb in rbcurse-1.3.0
- old
+ new
@@ -1,10 +1,10 @@
# this is a test program, tests out tabbed panes. type F1 to exit
#
#$LOAD_PATH << "/Users/rahul/work/projects/rbcurse/"
require 'rubygems'
-require 'ncurses'
+#require 'ncurses' # FFI
require 'logger'
require 'rbcurse'
#require 'rbcurse/rtabbedpane'
require 'rbcurse/rtabbedwindow'
@@ -92,10 +92,10 @@
if $0 == __FILE__
# Initialize curses
begin
# XXX update with new color and kb
VER::start_ncurses # this is initializing colors via ColorMap.setup
- $log = Logger.new((File.join(ENV["LOGDIR"] || "./" ,"view.log")))
+ $log = Logger.new((File.join(ENV["LOGDIR"] || "./" ,"rbc13.log")))
$log.level = Logger::DEBUG
n = TestTabbedPane.new
n.run
rescue => ex
ensure