Next: Low-level routines, Previous: Inserting a string before the cursor, Up: The basic curses library [Contents][Index]
This routine returns a unrendered string, extracted starting at the current cursor position in the named window. Attributes are stripped from the characters. If n is specified, it returns a leading substring at most n characters long.