Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # sets the @size of the screen to the current terminal's size
- def set_screen_size
- @size.height, @size.width = IO::console.winsize
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement