Message143059
You're right, as this little C program verifies:
#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>
int main() {
printf("foo ");
char* buf = readline("");
free(buf);
return 0;
}
Passing ' ' seems to be a suitable workaround for those who can't pass the text directly to raw_input though (such is the case where you have special classes who handle output). |
|
Date |
User |
Action |
Args |
2011-08-27 11:03:08 | idank | set | recipients:
+ idank, pitrou, nadeem.vawda, kiilerix, eric.araujo |
2011-08-27 11:03:08 | idank | set | messageid: <1314442988.49.0.984048460309.issue12833@psf.upfronthosting.co.za> |
2011-08-27 11:03:07 | idank | link | issue12833 messages |
2011-08-27 11:03:07 | idank | create | |
|