examples/testsplit.rb in rbcurse-1.1.5 vs examples/testsplit.rb in rbcurse-1.2.0.pre
- old
+ new
@@ -14,10 +14,10 @@
include RubyCurses::Utils
begin
# Initialize curses
VER::start_ncurses # this is initializing colors via ColorMap.setup
- $log = Logger.new("v#{$0}.log")
+ $log = Logger.new((File.join(ENV["LOGDIR"] || "./" ,"view.log")))
$log.level = Logger::DEBUG
@window = VER::Window.root_window
catch(:close) do