Next: , Previous: , Up: The basic curses library   [Contents][Index]


5.2.25 Getting a string of characters from the screen

Procedure: instr win #:key y x n

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.