mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-21 23:01:03 +00:00
Only flush stdin when no mouse wheel is used
This commit is contained in:
parent
3be4055019
commit
388dc1e222
@ -4039,7 +4039,9 @@ dodo:
|
||||
ch = r_cons_readchar ();
|
||||
}
|
||||
#ifndef __WINDOWS__
|
||||
tcflush (STDIN_FILENO, TCIFLUSH);
|
||||
if (!r_config_get_i (core->config, "scr.wheel")) {
|
||||
tcflush (STDIN_FILENO, TCIFLUSH);
|
||||
}
|
||||
#endif
|
||||
if (r_cons_is_breaked()) {
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user