mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Fix #806 - Handle ^D in ==
This commit is contained in:
parent
687a0082ff
commit
fcd75e1d48
@ -557,15 +557,15 @@ R_API void r_core_rtr_session(RCore *core, const char *input) {
|
||||
free (r_line_singleton ()->prompt);
|
||||
r_line_singleton ()->prompt = strdup (prompt);
|
||||
if ((r_cons_fgets (buf, sizeof (buf), 0, NULL))) {
|
||||
if (*buf == 'q')
|
||||
if (!*buf || *buf == 'q')
|
||||
break;
|
||||
else if (*buf == 'V') {
|
||||
if (*buf == 'V') {
|
||||
eprintf ("Visual mode not supported\n");
|
||||
continue;
|
||||
}
|
||||
r_core_rtr_cmd (core, buf);
|
||||
r_cons_flush ();
|
||||
}
|
||||
} else break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user