lib/deadline/timer.rb in deadline-0.0.2 vs lib/deadline/timer.rb in deadline-0.0.3
- old
+ new
@@ -54,9 +54,11 @@
Curses.addstr(top_label)
end
Curses.refresh
sleep(1)
+ Curses.close_screen
+ Curses.init_screen
end
end
def self.special_last_time_of(task)
last_time = task[:deadline] - Time.now