mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 11:50:02 +00:00
Fix #6942 - show prompt when scr.fgets=true
This commit is contained in:
parent
8d986c2e2c
commit
024998890b
@ -223,6 +223,8 @@ R_API int r_cons_fgets(char *buf, int len, int argc, const char **argv) {
|
||||
if (cons->user_fgets) {
|
||||
RETURN (cons->user_fgets (buf, len));
|
||||
}
|
||||
printf ("%s", cons->line->prompt);
|
||||
fflush (stdout);
|
||||
*buf = '\0';
|
||||
fflush (cons->fdin);
|
||||
if (color) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user