examples/testsplit.rb in rbcurse-1.2.0 vs examples/testsplit.rb in rbcurse-1.3.0
- old
+ new
@@ -1,8 +1,8 @@
#$LOAD_PATH << "/Users/rahul/work/projects/rbcurse/"
require 'rubygems'
-require 'ncurses'
+#require 'ncurses' # FFI
require 'logger'
require 'rbcurse'
require 'rbcurse/rsplitpane'
#require 'rbcurse/rtestwidget'
#
@@ -14,10 +14,10 @@
include RubyCurses::Utils
begin
# Initialize curses
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
@window = VER::Window.root_window
catch(:close) do