Message224313
Yes, it is. GNU readline will use a FILE*. Apparently, one can customize this behaviour, see http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC25
"""Variable: rl_getc_func_t * rl_getc_function
If non-zero, Readline will call indirectly through this pointer to get a character from the input stream. By default, it is set to rl_getc, the default Readline character input function (see section 2.4.8 Character Input). In general, an application that sets rl_getc_function should consider setting rl_input_available_hook as well. """
It is not obvious how that interacts with special keys, e.g. arrows. |
|
Date |
User |
Action |
Args |
2014-07-30 15:29:16 | pitrou | set | recipients:
+ pitrou, gvanrossum, brett.cannon, georg.brandl, ncoghlan, vstinner, benjamin.peterson, eric.araujo, tshepang, Drekin, steve.dower |
2014-07-30 15:29:16 | pitrou | set | messageid: <1406734156.26.0.317500053452.issue17620@psf.upfronthosting.co.za> |
2014-07-30 15:29:16 | pitrou | link | issue17620 messages |
2014-07-30 15:29:15 | pitrou | create | |
|