mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-08 11:23:27 +00:00
Fix tk fflush issue for /t webui
This commit is contained in:
parent
9fec5ae3b2
commit
c74b476464
@ -117,7 +117,7 @@ static int cmd_type(void *data, const char *input) {
|
||||
|
||||
switch (input[0]) {
|
||||
// t [typename] - show given type in C syntax
|
||||
case 'u':
|
||||
case 'u': // "tu"
|
||||
switch (input[1]) {
|
||||
case '?': {
|
||||
const char *help_message[] = {
|
||||
@ -132,12 +132,13 @@ static int cmd_type(void *data, const char *input) {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 'k':
|
||||
case 'k': // "tk"
|
||||
if (input[1] == ' ') {
|
||||
sdb_query (core->anal->sdb_types, input + 2);
|
||||
} else sdb_query (core->anal->sdb_types, "*");
|
||||
fflush (stdout);
|
||||
break;
|
||||
case 's':
|
||||
case 's': // "ts"
|
||||
switch (input[1]) {
|
||||
case '?': {
|
||||
const char *help_message[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user