lib/ppcurses/actions/BaseAction.rb in ppcurses-0.0.25 vs lib/ppcurses/actions/BaseAction.rb in ppcurses-0.1.0
- old
+ new
@@ -1,7 +1,5 @@
-require 'curses'
-
#noinspection RubyResolve
module PPCurses
class BaseAction
def set_window(win)
@@ -14,9 +12,10 @@
def win_padding
2
end
+ # TODO -- need abstraction layer.
def win_width
Curses.cols - win_padding
end
def win_height