diff --git a/lib/aethyr/core/render/display.rb b/lib/aethyr/core/render/display.rb index 40ae2f35471c68be740e245a16fd10c88f130726..0f69cbbb6ccfdc8a63b7363fd108a874462809ae 100644 --- a/lib/aethyr/core/render/display.rb +++ b/lib/aethyr/core/render/display.rb @@ -287,6 +287,11 @@ end + + + + + class Display attr_accessor :color_settings, :use_color @@ -319,11 +324,12 @@ class Display Ncurses.stdscr.clear - @windows = Hash.new - @windows[:main] = Window.new(@color_settings, buffered: true) - @windows[:input] = Window.new(@color_settings) - @windows[:map] = Window.new(@color_settings) - @windows[:look] = Window.new(@color_settings) + @windows = { + :main => Window.new(@color_settings, buffered: true), + :input => Window.new(@color_settings), + :map => Window.new(@color_settings), + :look => Window.new(@color_settings) + } self.selected = :input layout end