Archived
1
0
Fork 0

Big menu items

This commit is contained in:
Braiden Vasco 2017-07-21 15:05:10 +00:00
parent c3c1f68b0b
commit af5f7bcb4f

View file

@ -21,8 +21,15 @@ module Widgets
def render
ITEMS.each_with_index do |item, index|
Curses.attron Curses.color_pair 5
Curses.setpos 1 + y + index * 4, 2
Curses.addstr ' ' * (width - 4)
Curses.setpos 2 + y + index * 4, 2
Curses.addstr item
Curses.addstr " #{item}".ljust width - 4
Curses.setpos 3 + y + index * 4, 2
Curses.addstr ' ' * (width - 4)
end
end
end