# File lib/luck/pane.rb, line 98 def draw_frame linebar = 'q' * (width - 1) fillerbar = ' ' * (width - 1) @display.driver.linedrawing = true print @display.color('0;2') @display.place y1, x1, "n#{linebar}n" @display.place y2, x1, "n#{linebar}n" #~ @display.place y1, x1, "l#{topbar}k" #~ @display.place y2, x1, "m#{bottombar}j" (y1 + 1).upto y2 - 1 do |row| @display.place row, x1, "x#{fillerbar}x" end @display.driver.linedrawing = false print @display.color('0') end