nanenj icon

Documentation Sample

nanenj | PRO | 07/05/17 02:19:54 AM UTC | 0 ⭐ | 278 👁️ | Never ⏰ | []
Ruby |

150 B

|

None

|

0 👍

/

0 👎

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

Comments