Flowdock
method

close_screen

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Curses
close_screen() public

A program should always call Curses.close_screen before exiting or escaping from curses mode temporarily. This routine restores tty modes, moves the cursor to the lower left-hand corner of the screen and resets the terminal into the proper non-visual mode.

Calling Curses.refresh or Curses.doupdate after a temporary escape causes the program to resume visual mode.

Show source
Register or log in to add new notes.