# sets the @size of the screen to the current terminal's size def set_screen_size @size.height, @size.width = IO::console.winsize end