class List_Win
- def initialize(sections)
+ def initialize(sections, size)
@params = sections
- @win = Ncurses::WINDOW.new(0, Ncurses.COLS()/4, 0, 0)
+ @win = Ncurses::WINDOW.new(0, size*Ncurses.COLS()/100, 0, 0)
@win.border(*([0]*8))
@win.keypad(true)
@win.timeout(1000)