Prevent runaway scrolling in Visual mode ##visual

This commit is contained in:
Khairul Azhar Kasmiran 2019-01-13 17:02:24 +08:00 committed by radare
parent 4e603be2df
commit 3be4055019

View File

@ -4038,6 +4038,9 @@ dodo:
} else {
ch = r_cons_readchar ();
}
#ifndef __WINDOWS__
tcflush (STDIN_FILENO, TCIFLUSH);
#endif
if (r_cons_is_breaked()) {
break;
}